diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-10-08 21:07:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-10-08 21:07:32 +0400 |
commit | 56295f968818ad913a3ca92829408692b3d7a200 (patch) | |
tree | f5df0d2a7c6e529899d0d984cb473bac1e46a325 /release/scripts | |
parent | 63fb5864966656a41870008fc91c43d9d81760a7 (diff) |
own error, bvh import would always miss the last frame.
thanks ppClarity for picking up on this.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/bvh_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/bvh_import.py b/release/scripts/bvh_import.py index 2093ac109f7..5cdd8a71231 100644 --- a/release/scripts/bvh_import.py +++ b/release/scripts/bvh_import.py @@ -231,7 +231,7 @@ def read_bvh(file_path, GLOBAL_SCALE=1.0): bvh_nodes_list= bvh_nodes.values() - while lineIdx < len(file_lines) -1: + while lineIdx < len(file_lines): line= file_lines[lineIdx] for bvh_node in bvh_nodes_list: #for bvh_node in bvh_nodes_serial: @@ -726,7 +726,7 @@ def load_bvh_ui(file, PREF_UI= True): Blender.Window.WaitCursor(1) # Get the BVH data and act on it. t1= Blender.sys.time() - print '\tpassing bvh...', + print '\tparsing bvh...', bvh_nodes= read_bvh(file, IMPORT_SCALE) print '%.4f' % (Blender.sys.time()-t1) t1= Blender.sys.time() |