[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32981] trunk/blender/source/blender/ makesdna/DNA_action_types.h: Reverting part of #32971

Joshua Leung aligorith at gmail.com
Wed Nov 10 10:51:30 CET 2010


Revision: 32981
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32981
Author:   aligorith
Date:     2010-11-10 10:51:30 +0100 (Wed, 10 Nov 2010)

Log Message:
-----------
Reverting part of #32971

By just removing these vars (commenting them out), we were getting alignment errors which were causing crashes when loading old files with armatures (crash in armature drawing code). 

Fortunately I happen to be working on a little project right now, and caught this :)

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

Modified: trunk/blender/source/blender/makesdna/DNA_action_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_action_types.h	2010-11-10 08:24:15 UTC (rev 32980)
+++ trunk/blender/source/blender/makesdna/DNA_action_types.h	2010-11-10 09:51:30 UTC (rev 32981)
@@ -193,9 +193,9 @@
 	short				agrp_index; /* index of action-group this bone belongs to (0 = default/no group) */
 	
 // XXX depreceated.... old animation system (armature only viz) ----
-//	int				    pathlen;	/* for drawing paths, the amount of frames */
-//	int 				pathsf;		/* for drawing paths, the start frame number */
-//	int					pathef;		/* for drawing paths, the end frame number */
+	int				    pathlen;	/* for drawing paths, the amount of frames */
+	int 				pathsf;		/* for drawing paths, the start frame number */
+	int					pathef;		/* for drawing paths, the end frame number */
 // XXX end of depreceated code -------------------------------------
 	
 	struct Bone			*bone;		/* set on read file or rebuild pose */





More information about the Bf-blender-cvs mailing list