public void OnBoneSelectionChanged(SkeletonSelection boneSelection)
        {
            var bones     = boneSelection.elements.ToSpriteSheetIfNeeded();
            var ids       = GetController().GetIDsToSelect(bones);
            var result    = GetController().GetIDsToExpand(bones);
            var expandIds = GetExpanded().ToList();

            if (result.Count > 0)
            {
                expandIds = expandIds.Union(result).ToList();
            }
            SetExpanded(expandIds);
            SetSelection(ids);
        }
 public void OnBoneSelectionChange(SkeletonSelection bones)
 {
     ((BoneTreeView)m_TreeView).OnBoneSelectionChanged(bones);
 }
Ejemplo n.º 3
0
 public void OnBoneSelectionChange(SkeletonSelection skeleton)
 {
     ((IBoneVisibilityToolView)toolView).OnBoneSelectionChange(skeleton);
 }