diff options
author | Benjy Cook <benjycook@hotmail.com> | 2011-08-02 21:10:01 +0400 |
---|---|---|
committer | Benjy Cook <benjycook@hotmail.com> | 2011-08-02 21:10:01 +0400 |
commit | 2f2a95efb888f123602e89ba93f9395d85b75892 (patch) | |
tree | 34139f6731e565bac3429d8bec47cef5c5198efd /release | |
parent | 827f92497e8b3044811b8c79d3706ea660a4e123 (diff) |
Sane defaults for post-retarget fix's framing, and ui bugfix (active icon was showing opposite of real active state)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/ui_mocap.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/ui_mocap.py b/release/scripts/startup/ui_mocap.py index 044e13e81f5..f31b580411a 100644 --- a/release/scripts/startup/ui_mocap.py +++ b/release/scripts/startup/ui_mocap.py @@ -52,11 +52,11 @@ class MocapConstraint(bpy.types.PropertyGroup): description="Other Constrained Bone (optional, depends on type)", update=setConstraint) s_frame = bpy.props.IntProperty(name="S", - default=1, + default=bpy.context.scene.frame_start, description="Start frame of Fix", update=setConstraint) e_frame = bpy.props.IntProperty(name="E", - default=500, + default=bpy.context.scene.frame_end, description="End frame of Fix", update=setConstraint) smooth_in = bpy.props.IntProperty(name="In", @@ -264,7 +264,7 @@ class MocapConstraintsPanel(bpy.types.Panel): headerRow.prop(m_constraint, 'show_expanded', text='', icon='TRIA_DOWN' if m_constraint.show_expanded else 'TRIA_RIGHT', emboss=False) headerRow.prop(m_constraint, 'type', text='') headerRow.prop(m_constraint, 'name', text='') - headerRow.prop(m_constraint, 'active', icon='MUTE_IPO_ON' if m_constraint.active else'MUTE_IPO_OFF', text='', emboss=False) + headerRow.prop(m_constraint, 'active', icon='MUTE_IPO_ON' if not m_constraint.active else'MUTE_IPO_OFF', text='', emboss=False) headerRow.operator("mocap.removeconstraint", text="", icon='X', emboss=False).constraint = i if m_constraint.show_expanded: box.separator() |