[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16976] trunk/blender/release/scripts/ bvh_import.py: own error, bvh import would always miss the last frame.
Campbell Barton
ideasman42 at gmail.com
Wed Oct 8 19:07:32 CEST 2008
Revision: 16976
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16976
Author: campbellbarton
Date: 2008-10-08 19:07:32 +0200 (Wed, 08 Oct 2008)
Log Message:
-----------
own error, bvh import would always miss the last frame.
thanks ppClarity for picking up on this.
Modified Paths:
--------------
trunk/blender/release/scripts/bvh_import.py
Modified: trunk/blender/release/scripts/bvh_import.py
===================================================================
--- trunk/blender/release/scripts/bvh_import.py 2008-10-08 16:50:06 UTC (rev 16975)
+++ trunk/blender/release/scripts/bvh_import.py 2008-10-08 17:07:32 UTC (rev 16976)
@@ -231,7 +231,7 @@
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 @@
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()
More information about the Bf-blender-cvs
mailing list