[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46357] trunk/blender/source/blender/ makesdna/DNA_object_types.h: code cleanup: documentation commit

Campbell Barton ideasman42 at gmail.com
Sun May 6 18:28:53 CEST 2012


Revision: 46357
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46357
Author:   campbellbarton
Date:     2012-05-06 16:28:52 +0000 (Sun, 06 May 2012)
Log Message:
-----------
code cleanup: documentation commit

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_object_types.h

Modified: trunk/blender/source/blender/makesdna/DNA_object_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_object_types.h	2012-05-06 15:59:57 UTC (rev 46356)
+++ trunk/blender/source/blender/makesdna/DNA_object_types.h	2012-05-06 16:28:52 UTC (rev 46357)
@@ -153,6 +153,9 @@
 	float parentinv[4][4]; /* inverse result of parent, so that object doesn't 'stick' to parent */
 	float constinv[4][4]; /* inverse result of constraints. doesn't include effect of parent or object local transform */
 	float imat[4][4];	/* inverse matrix of 'obmat' for any other use than rendering! */
+	                    /* note: this isn't assured to be valid as with 'obmat',
+	                     *       before using this value you should do...
+	                     *       invert_m4_m4(ob->imat, ob->obmat); */
 	
 	/* Previously 'imat' was used at render time, but as other places use it too
 	 * the interactive ui of 2.5 creates problems. So now only 'imat_ren' should




More information about the Bf-blender-cvs mailing list