[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38514] branches/soc-2011-pepper/release/ scripts/startup/ui_mocap.py: Added tooltips to all operators in the Mocap panels

Benjy Cook benjycook at hotmail.com
Tue Jul 19 18:33:29 CEST 2011


Revision: 38514
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38514
Author:   benjycook
Date:     2011-07-19 16:33:28 +0000 (Tue, 19 Jul 2011)
Log Message:
-----------
Added tooltips to all operators in the Mocap panels

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-07-19 15:30:19 UTC (rev 38513)
+++ branches/soc-2011-pepper/release/scripts/startup/ui_mocap.py	2011-07-19 16:33:28 UTC (rev 38514)
@@ -287,6 +287,7 @@
 
 
 class OBJECT_OT_RetargetButton(bpy.types.Operator):
+    '''Retarget animation from selected armature to active armature '''
     bl_idname = "mocap.retarget"
     bl_label = "Retargets active action from Performer to Enduser"
 
@@ -315,6 +316,7 @@
 
 
 class OBJECT_OT_SaveMappingButton(bpy.types.Operator):
+    '''Save mapping to active armature (for future retargets) '''
     bl_idname = "mocap.savemapping"
     bl_label = "Saves user generated mapping from Performer to Enduser"
 
@@ -336,6 +338,7 @@
 
 
 class OBJECT_OT_LoadMappingButton(bpy.types.Operator):
+    '''Load saved mapping from active armature'''
     bl_idname = "mocap.loadmapping"
     bl_label = "Loads user generated mapping from Performer to Enduser"
 
@@ -357,6 +360,7 @@
 
 
 class OBJECT_OT_ConvertSamplesButton(bpy.types.Operator):
+    '''Convert active armature's sampled keyframed to beziers'''
     bl_idname = "mocap.samples"
     bl_label = "Converts samples / simplifies keyframes to beziers"
 
@@ -370,6 +374,7 @@
 
 
 class OBJECT_OT_LooperButton(bpy.types.Operator):
+    '''Trim active armature's animation to a single cycle, given a cyclic animation (such as a walk cycle)'''
     bl_idname = "mocap.looper"
     bl_label = "loops animation / sampled mocap data"
 
@@ -383,6 +388,7 @@
 
 
 class OBJECT_OT_DenoiseButton(bpy.types.Operator):
+    '''Denoise active armature's animation. Good for dealing with 'bad' frames inherent in mocap animation'''
     bl_idname = "mocap.denoise"
     bl_label = "Denoises sampled mocap data "
 
@@ -400,6 +406,7 @@
 
 
 class OBJECT_OT_LimitDOFButton(bpy.types.Operator):
+    '''UNIMPLEMENTED: Create limit constraints on the active armature from the selected armature's animation's range of motion'''
     bl_idname = "mocap.limitdof"
     bl_label = "Analyzes animations Max/Min DOF and adds hard/soft constraints"
 
@@ -418,6 +425,7 @@
 
 
 class OBJECT_OT_RotateFixArmature(bpy.types.Operator):
+    '''Realign the active armature's axis system to match Blender (Commonly needed after bvh import)'''
     bl_idname = "mocap.rotate_fix"
     bl_label = "Rotates selected armature 90 degrees (fix for bvh import)"
 
@@ -432,6 +440,7 @@
 
 
 class OBJECT_OT_ScaleFixArmature(bpy.types.Operator):
+    '''Rescale selected armature to match the active animation, for convienence'''
     bl_idname = "mocap.scale_fix"
     bl_label = "Scales performer armature to match target armature"
 
@@ -453,6 +462,7 @@
 
 
 class OBJECT_OT_AddMocapConstraint(bpy.types.Operator):
+    '''Add a post-retarget fix - useful for fixing certain artifacts following the retarget'''
     bl_idname = "mocap.addconstraint"
     bl_label = "Add constraint to target armature"
 
@@ -469,6 +479,7 @@
 
 
 class OBJECT_OT_RemoveMocapConstraint(bpy.types.Operator):
+    '''Remove this post-retarget fix'''
     bl_idname = "mocap.removeconstraint"
     bl_label = "Removes constraints from target armature"
     constraint = bpy.props.IntProperty()
@@ -492,6 +503,7 @@
 
 
 class OBJECT_OT_BakeMocapConstraints(bpy.types.Operator):
+    '''Bake all post-retarget fixes to the Retarget Fixes NLA Track'''
     bl_idname = "mocap.bakeconstraints"
     bl_label = "Bake all constraints to target armature"
 
@@ -506,6 +518,7 @@
 
 
 class OBJECT_OT_UnbakeMocapConstraints(bpy.types.Operator):
+    '''Unbake all post-retarget fixes - removes the baked data from the Retarget Fixes NLA Track'''
     bl_idname = "mocap.unbakeconstraints"
     bl_label = "Unbake all constraints to target armature"
 




More information about the Bf-blender-cvs mailing list