[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1691] trunk/py/scripts/addons/ io_anim_bvh/__init__.py: fix [#26423] Import a BVH, rotate it, imported frames are deleted

Campbell Barton ideasman42 at gmail.com
Wed Mar 9 23:13:51 CET 2011


Revision: 1691
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1691
Author:   campbellbarton
Date:     2011-03-09 22:13:51 +0000 (Wed, 09 Mar 2011)
Log Message:
-----------
fix [#26423] Import a BVH, rotate it, imported frames are deleted
was missing undo push as Joshua pointed out.

Modified Paths:
--------------
    trunk/py/scripts/addons/io_anim_bvh/__init__.py

Modified: trunk/py/scripts/addons/io_anim_bvh/__init__.py
===================================================================
--- trunk/py/scripts/addons/io_anim_bvh/__init__.py	2011-03-09 15:36:27 UTC (rev 1690)
+++ trunk/py/scripts/addons/io_anim_bvh/__init__.py	2011-03-09 22:13:51 UTC (rev 1691)
@@ -46,6 +46,7 @@
     '''Load a BVH motion capture file'''
     bl_idname = "import_anim.bvh"
     bl_label = "Import BVH"
+    bl_options = {'REGISTER', 'UNDO'}
 
     filename_ext = ".bvh"
     filter_glob = StringProperty(default="*.bvh", options={'HIDDEN'})



More information about the Bf-extensions-cvs mailing list