Page Menu
Home
Search
Configure Global Search
Log In
Files
F1954
patch_python_invmakeparent.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Stephane SOPPERA (soppera)
Nov 13 2013, 1:01 PM
Size
633 B
Subscribers
None
patch_python_invmakeparent.txt
View Options
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
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
22/3a/98e6affd467e87f8d77b50df63e0
Event Timeline
Log In to Comment