Armature Panel Tweaks - Motion Paths/Ghosting
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user