From b28c6d3c149295a367bb8e95df2888bb61db99ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 May 2010 22:07:03 +0000 Subject: bugfix for own error [#22269] object vector operations (position) not working properly after rev. 28471 double checked other get_index callbacks for the same error. --- source/gameengine/Ketsji/KX_ObjectActuator.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/gameengine/Ketsji/KX_ObjectActuator.cpp') diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp index 460e4369c5b..dff95551d70 100644 --- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp +++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp @@ -430,12 +430,9 @@ static int mathutils_obactu_vector_set(BaseMathObject *bmo, int subtype) static int mathutils_obactu_vector_get_index(BaseMathObject *bmo, int subtype, int index) { - float f[4]; /* lazy, avoid repeteing the case statement */ if(!mathutils_obactu_vector_get(bmo, subtype)) return 0; - - bmo->data[index]= f[index]; return 1; } -- cgit v1.2.3