Revision: 38943
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38943
Author:   benjycook
Date:     2011-08-02 17:10:01 +0000 (Tue, 02 Aug 2011)
Log Message:
-----------
Sane defaults for post-retarget fix's framing, and ui bugfix (active icon was 
showing opposite of real active state)

Modified Paths:
--------------
    branches/soc-2011-pepper/release/scripts/startup/ui_mocap.py

Modified: branches/soc-2011-pepper/release/scripts/startup/ui_mocap.py
===================================================================
--- branches/soc-2011-pepper/release/scripts/startup/ui_mocap.py        
2011-08-02 17:08:49 UTC (rev 38942)
+++ branches/soc-2011-pepper/release/scripts/startup/ui_mocap.py        
2011-08-02 17:10:01 UTC (rev 38943)
@@ -52,11 +52,11 @@
         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 @@
                         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()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to