Contributed by Stephane SOPPERA (soppera). Thanks!
This commit is contained in:
@@ -1786,6 +1786,7 @@ static PyObject *internal_makeParent(Object *parent, PyObject *py_child,
|
|||||||
child->parent = parent;
|
child->parent = parent;
|
||||||
//py_obj_child = (BPy_Object *) py_child;
|
//py_obj_child = (BPy_Object *) py_child;
|
||||||
if( noninverse == 1 ) {
|
if( noninverse == 1 ) {
|
||||||
|
Mat4One(child->parentinv);
|
||||||
/* Parent inverse = unity */
|
/* Parent inverse = unity */
|
||||||
child->loc[0] = 0.0;
|
child->loc[0] = 0.0;
|
||||||
child->loc[1] = 0.0;
|
child->loc[1] = 0.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user