[Bf-extensions-cvs] [0de4052] master: Fix a minor UI issue when object has animdata but no action, raise Blender version, add addon version.

Bastien Montagne noreply at git.blender.org
Wed Oct 29 12:34:15 CET 2014


Commit: 0de4052432b34680d4441704b99ae2238eae25a1
Author: Bastien Montagne
Date:   Wed Oct 29 12:33:17 2014 +0100
Branches: master
https://developer.blender.org/rBA0de4052432b34680d4441704b99ae2238eae25a1

Fix a minor UI issue when object has animdata but no action, raise Blender version, add addon version.

===================================================================

M	mocap/__init__.py

===================================================================

diff --git a/mocap/__init__.py b/mocap/__init__.py
index 9f6dba4..62e3709 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -21,7 +21,8 @@
 bl_info = {
     "name": "Motion Capture Tools",
     "author": "Benjy Cook",
-    "blender": (2, 62, 0),
+    "blender": (2, 72, 0),
+    "version": (1, 0, 1),
     "location": "Object UI > Mocap tools",
     "description": "Various tools for working with motion capture animation",
     "warning": "",
@@ -333,7 +334,7 @@ class MocapPanel(bpy.types.Panel):
                     mapRow.operator("mocap.savemapping", text='Save mapping')
                     mapRow.operator("mocap.loadmapping", text='Load mapping')
                     extraSettings = self.layout.box()
-                    if performer_obj.animation_data:
+                    if performer_obj.animation_data and performer_obj.animation_data.action:
                         extraSettings.prop(data=performer_obj.animation_data.action, property='name', text='Action Name')
                     extraSettings.prop(enduser_arm, "frameStep")
                     extraSettings.prop(enduser_arm, "advancedRetarget", text='Advanced Retarget')



More information about the Bf-extensions-cvs mailing list