From 12d10f45ea4818fb1eb203c6e655aee24cc51c00 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 27 Jun 2005 15:57:09 +0000 Subject: Bug reported by Jean-Baptiste. (Inexed 0 0 0 instead of 0 1 2 I also removed dos linebreaks. Kent --- release/scripts/bvh_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release') 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))) -- cgit v1.2.3