From eeeaa6e5e17bf218bf171dce659431e9d548f307 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Wed, 9 Mar 2011 22:13:51 +0000
Subject: [PATCH] fix [#26423] Import a BVH, rotate it, imported frames are
 deleted was missing undo push as Joshua pointed out.

---
 io_anim_bvh/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/io_anim_bvh/__init__.py b/io_anim_bvh/__init__.py
index 350297a59..f74205559 100644
--- a/io_anim_bvh/__init__.py
+++ b/io_anim_bvh/__init__.py
@@ -46,6 +46,7 @@ class ImportBVH(bpy.types.Operator, ImportHelper):
     '''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'})
-- 
GitLab