Armature Panel Tweaks - Motion Paths/Ghosting
authorJoshua Leung <aligorith@gmail.com>
Thu, 2 Aug 2018 02:44:17 +0000 (14:44 +1200)
committerJoshua Leung <aligorith@gmail.com>
Thu, 2 Aug 2018 03:04:47 +0000 (15:04 +1200)
Since most animators find Motion Paths more useful than Armature Ghosting:
* Move Motion Paths before Ghosting settings (less scrolling)
* Collapse Ghosting panel by default
* Open Motion Paths panel by default instead

release/scripts/startup/bl_ui/properties_animviz.py
release/scripts/startup/bl_ui/properties_data_armature.py
release/scripts/startup/bl_ui/properties_object.py

index 901e15c181a47a3f9b4d393e55a3ebc4a29a8d8a..4033d5c2448a860a5f9dd36357a86d433fb18cfb 100644 (file)
@@ -29,7 +29,7 @@ class MotionPathButtonsPanel:
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
     bl_label = "Motion Paths"
-    bl_options = {'DEFAULT_CLOSED'}
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw_settings(self, context, avs, mpath, bones=False):
         layout = self.layout
index 63d80638ae283d97780cffd569e5226c25a83c20..8ea20ada3905f23ea904b4fba92bf4e3281980cb 100644 (file)
@@ -211,6 +211,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
 # TODO: this panel will soon be deprecated too
 class DATA_PT_ghost(ArmatureButtonsPanel, Panel):
     bl_label = "Ghost"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         layout = self.layout
@@ -340,9 +341,9 @@ classes = (
     DATA_MT_bone_group_specials,
     DATA_PT_bone_groups,
     DATA_PT_pose_library,
+    DATA_PT_motion_paths,
     DATA_PT_ghost,
     DATA_PT_iksolver_itasc,
-    DATA_PT_motion_paths,
     DATA_PT_custom_props_arm,
 )
 
index 64bc8d52068ee029ab892bd7daf6408a565d8a38..79b2f7b8df8b590985c6abb1d152942527813023 100644 (file)
@@ -329,6 +329,7 @@ from .properties_animviz import (
 class OBJECT_PT_motion_paths(MotionPathButtonsPanel, Panel):
     #bl_label = "Object Motion Paths"
     bl_context = "object"
+    bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
     def poll(cls, context):