Beispiel #1
0
 public void SetTreeItemDepthValue(TreeViewItemBase <BoneCache> bone, int value)
 {
     if (bone != null && bone.customData != null)
     {
         using (m_Model.UndoScope(TextContent.boneDepth))
         {
             m_Model.SetDepth(bone.customData, value);
             m_SkinningEvents.boneNameChanged.Invoke(bone.customData);
         }
     }
 }