Page MenuHome

patch_python_invmakeparent.txt

patch_python_invmakeparent.txt

Index: source/blender/python/api2_2x/Object.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Object.c,v
retrieving revision 1.146
diff -u -r1.146 Object.c
--- source/blender/python/api2_2x/Object.c 18 Nov 2005 19:44:44 -0000 1.146
+++ source/blender/python/api2_2x/Object.c 26 Nov 2005 23:47:10 -0000
@@ -1786,6 +1786,7 @@
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;

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
22/3a/98e6affd467e87f8d77b50df63e0

Event Timeline