constant name was wrong. possibly changed between blender versions
authorCampbell Barton <ideasman42@gmail.com>
Wed, 5 Sep 2007 01:02:03 +0000 (01:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 5 Sep 2007 01:02:03 +0000 (01:02 +0000)
release/scripts/bvh_import.py

index 0fa714996d66c6cab5d4eaa8fc922faeae4d13da..2093ac109f73fca7791f7af0d3e3786d2e5c48ff 100644 (file)
@@ -354,7 +354,7 @@ def bvh_node_dict2objects(bvh_nodes, IMPORT_START_FRAME= 1, IMPORT_LOOP= False):
                        
                        bvh_node.temp.rot= rx*DEG2RAD,ry*DEG2RAD,rz*DEG2RAD
                        
-                       bvh_node.temp.insertIpoKey(Blender.Object.IpoKeys.LOCROT)
+                       bvh_node.temp.insertIpoKey(Blender.Object.IpoKeyTypes.LOCROT)
        
        scn.update(1)
        return objects