Ligamen

Views

Tree and Outline

The Tree is the list of everything in the skeleton: bones, slots, attachments, skins, constraints, animations, events and images. It is the place to select any object, to create new ones, to rename them and to hide or lock them while you work. This article walks through the rows of the Tree, the buttons of its header, the search and the type filter, Find and Replace, the visibility and selection icons, and the Show Outline setting of the View menu, which draws the outline of every attachment in the viewport.

The Tree panel

The rows#

The panel sits in the right column, in the same group as Skins. The top row is the skeleton, and below it the bones form a hierarchy: a child bone is indented under its parent, a triangle at the left folds a branch, and a thin guide line joins a row to its parent. Right-click a triangle to fold or unfold the branch together with everything nested in it. The slots are listed under the Draw Order header in drawing order, and each slot has its attachments below it. A picture that the slot shows is marked (shown). When the skeleton has skins besides default, a Skins section follows, and a slash in the name of a skin nests it in a folder. Then come the constraints, the events, the animations and the images, each under its own header. A header shows the number of its children in brackets, a row of a constraint shows its kind such as IK, and a mesh shows its number of vertices.

A bone that a constraint uses carries a small icon at the right of its row. Click it to select that constraint, or to choose one when several of them name the bone. The two small icons at the left of a row are the eye and the pointer. The eye hides the object in the viewport and in every pick, and the pointer makes it unselectable in the viewport. A right click on either icon applies the new state to the bone and to everything below it. Both are editor settings, saved with the project, and they have no effect on export. The same two icons exist on slots and, one level finer, on every attachment of a slot, where they work only for the frames in which that slot shows that attachment.

Selecting, creating and renaming#

A click selects one row, and the viewport follows. Ctrl (Cmd on macOS) toggles one more row, and Shift selects a range. Selecting something in the viewport selects its row in the Tree. The target button in the header, Expand and scroll to selection, is on by default: the Tree then opens the branches and scrolls to the selected row on every selection, and keeps that row above the card at the bottom.

The card under the rows belongs to the selected object and holds its main actions, such as New…, Parent, Skin… and Split for a bone, as described in the articles about each object (see Bones). The New… menu is also on every right click. Press F2, or double-click the name, to rename the selected row. With several rows selected, every run of # in the new name turns into the numbers 1, 2, 3 in the order of the Tree, so leg## gives leg01 and leg02. A name that is already taken gets the next free number. Deleting asks Delete N items? first, unless you tick Don't ask again, and every deletion is one undo step.

The header has two groups of buttons. On the left are Collapse all and Expand all, and the target button described above. On the right are Search, Find and Replace, Skin view options and the type filter.

Search opens a field in place of the left buttons. Type a part of a name, and every row whose name matches is highlighted in bold, with a counter such as 3/7. The syntax is the one of Spine: * stands for any characters, ? for one character, a backslash escapes, and a text between slashes is a regular expression. Enter or F3 jumps to the next match, Shift+Enter or Shift+F3 to the previous one, and Esc clears the field. The funnel in the field switches between showing only the matches and only highlighting them.

The type filter, the funnel at the right end, opens a menu of the row types: bones, slots, regions, meshes, bounding boxes, clipping, paths, points and skin placeholders. A type that is switched off disappears from the list, even if it matches the search. While some types are off, the button shows how many are on, and Reset brings them all back. The Skin view options button, with the t-shirt, opens a menu for the rows of skins: Show all skin attachments lists, under each placeholder, the attachments of skins that are not active, dimmed and marked with the name of the skin, and the options Hide skin names, Hide skin bones and constraints and Show inactive skin bones reduce the noise in a rig with many skins. A right click on the button switches the options on and off. See Skins for the skins themselves.

Find and Replace#

Find and Replace renames objects by pattern across the project. Open it from the header, from Edit or with Ctrl+Shift+F. Type the text to look for and the replacement, choose the Field, Name or Path (the path of the image of an attachment or the audio of an event), and the Scope: the entire project, the selection in the Tree or the current skin. The options are Match case, First occurrence and Regular expression, where \1 inserts a group, and a list of object types narrows the search; with none selected, all types are searched. Two filters, Unused for objects without keys in any animation and Missing images for images that are not found, list what they find when the search field is empty.

The preview lists every change as type · old → new with a checkbox. A row in red, such as an empty name, a duplicate or a name that is already taken, is skipped, and its tooltip gives the reason. Select selects the found objects in the Tree, and Replace applies the checked rows as one undo step and updates every reference to the renamed objects, in animations, constraints and skins.

Show Outline#

View → Show Outline draws, in the viewport, a thin outline of every attachment all the time, whether or not it is selected: the quad of a region and the hull of a mesh. It is useful when the picture has transparent areas and you want to see where its real bounds are, or when you look for an attachment that is almost invisible. The outline is dimmer than the outline of a selected object and has no effect on picking. The editor remembers the setting. When the cursor rests on a picture with no bone under it, the picture also gets a light outline as a hint.