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:
-rw-r--r--source/blender/python/api2_2x/Object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c
index 619c8f0c53b..ae6b3ec89a4 100644
--- a/source/blender/python/api2_2x/Object.c
+++ b/source/blender/python/api2_2x/Object.c
@@ -1786,6 +1786,7 @@ static PyObject *internal_makeParent(Object *parent, PyObject *py_child,
child->parent = parent;
//py_obj_child = (BPy_Object *) py_child;
if( noninverse == 1 ) {
+ Mat4One(child->parentinv);
/* Parent inverse = unity */
child->loc[0] = 0.0;
child->loc[1] = 0.0;