diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-06-27 19:57:09 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-06-27 19:57:09 +0400 |
commit | 12d10f45ea4818fb1eb203c6e655aee24cc51c00 (patch) | |
tree | 2beaa23828860dd569cd3fb1f76f6e615a118323 /release/scripts | |
parent | ece2733c63abbdc05b9d5b32ed4ad7ed3f0700d7 (diff) |
Bug reported by Jean-Baptiste.
(Inexed 0 0 0 instead of 0 1 2
I also removed dos linebreaks.
Kent
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 103c0df9969..17ce01c0cab 100644 --- a/release/scripts/bvh_import.py +++ b/release/scripts/bvh_import.py @@ -474,13 +474,13 @@ def loadBVH(filename): objectList[obIdx].getIpo().getCurve('LocX').addBezier((currentFrame, scale * float(VAL0))) if channelList[obIdx][1] != -1: - VAL1=lines[lineIdx][channelList[obIdx][0]] + VAL1=lines[lineIdx][channelList[obIdx][1]] if VAL1.find('.')==-1: VAL1=VAL1[:len(VAL1)-6]+'.'+VAL1[-6:] objectList[obIdx].getIpo().getCurve('LocY').addBezier((currentFrame, scale * float(VAL1))) if channelList[obIdx][2] != -1: - VAL2=lines[lineIdx][channelList[obIdx][0]] + VAL2=lines[lineIdx][channelList[obIdx][2]] if VAL2.find('.')==-1: VAL2=VAL2[:len(VAL2)-6]+'.'+VAL2[-6:] objectList[obIdx].getIpo().getCurve('LocZ').addBezier((currentFrame, scale * float(VAL2))) |