Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-06-14 05:41:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-14 05:41:43 +0400
commit374d3a66858a28ede6ad12fcd5a6a9efc7407935 (patch)
tree8dd14edcbac80ae41e1faf8cc18a8758cfeda9b3 /source/gameengine/Ketsji/KX_ObjectActuator.cpp
parenta262847298e9d9f4426f991b4e6c3f9fa89163f8 (diff)
bugfix [#21748] KX_Object scaling property not "writing" vector access .:. e.g. obj.scaling[2] = 2.0
- made worldspace readonly - mathutils 'set' callbacks can now set their own error
Diffstat (limited to 'source/gameengine/Ketsji/KX_ObjectActuator.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_ObjectActuator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
index dff95551d70..df071d50aa2 100644
--- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
@@ -445,9 +445,7 @@ static int mathutils_obactu_vector_set_index(BaseMathObject *bmo, int subtype, i
return 0;
bmo->data[index]= f;
- mathutils_obactu_vector_set(bmo, subtype);
-
- return 1;
+ return mathutils_obactu_vector_set(bmo, subtype);
}
Mathutils_Callback mathutils_obactu_vector_cb = {