Преглед изворни кода

Add child morph channel elements to proper list

BearishSun пре 9 година
родитељ
комит
c6ed951141
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Source/MBansheeEditor/Windows/Animation/GUIFieldSelector.cs

+ 2 - 2
Source/MBansheeEditor/Windows/Animation/GUIFieldSelector.cs

@@ -225,11 +225,11 @@ namespace BansheeEditor
                                     string framePropertyPath = parent.path + "/MorphShapes/Frames/" + channelName;
                                     string weightPropertyPath = parent.path + "/MorphShapes/Weight/" + channelName;
 
-                                    elements.Add(AddFieldRow(toggleParent.childLayout, channelName + " (Frames)", 
+                                    childElements.Add(AddFieldRow(toggleParent.childLayout, channelName + " (Frames)", 
                                         toggleParent.so, toggleParent.comp, framePropertyPath, 
                                         SerializableProperty.FieldType.Float));
 
-                                    elements.Add(AddFieldRow(toggleParent.childLayout, channelName + " (Weight)",
+                                    childElements.Add(AddFieldRow(toggleParent.childLayout, channelName + " (Weight)",
                                         toggleParent.so, toggleParent.comp, weightPropertyPath,
                                         SerializableProperty.FieldType.Float));
                                 }