[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21398] branches/soc-2009-aligorith/source /blender/makesdna/DNA_space_types.h: NLA SoC: Small cleanup in Graph Editor struct code (obsolete + commented out stuff)

Joshua Leung aligorith at gmail.com
Tue Jul 7 08:39:01 CEST 2009


Revision: 21398
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21398
Author:   aligorith
Date:     2009-07-07 08:39:01 +0200 (Tue, 07 Jul 2009)

Log Message:
-----------
NLA SoC: Small cleanup in Graph Editor struct code (obsolete + commented out stuff)

Modified Paths:
--------------
    branches/soc-2009-aligorith/source/blender/makesdna/DNA_space_types.h

Modified: branches/soc-2009-aligorith/source/blender/makesdna/DNA_space_types.h
===================================================================
--- branches/soc-2009-aligorith/source/blender/makesdna/DNA_space_types.h	2009-07-07 06:21:38 UTC (rev 21397)
+++ branches/soc-2009-aligorith/source/blender/makesdna/DNA_space_types.h	2009-07-07 06:39:01 UTC (rev 21398)
@@ -86,7 +86,6 @@
 } SpaceInfo;
 
 /* 'Graph' Editor (formerly known as the IPO Editor) */
-// XXX for now, we keep all old data...
 typedef struct SpaceIpo {
 	SpaceLink *next, *prev;
 	ListBase regionbase;		/* storage of regions for inactive spaces */
@@ -96,10 +95,6 @@
 	short blockhandler[8];
 	View2D v2d; /* depricated, copied to region */
 	
-		// 'IPO keys' - vertical lines for editing multiple keyframes at once - use Dopesheet instead for this?
-	//ListBase ipokey;		// XXX it's not clear how these will come back yet
-	//short showkey;			// XXX this doesn't need to be restored until ipokeys come back
-	
 	struct bDopeSheet *ads;	/* settings for filtering animation data (NOTE: we use a pointer due to code-linking issues) */
 	
 	ListBase ghostCurves;	/* sampled snapshots of F-Curves used as in-session guides */
@@ -107,7 +102,7 @@
 	short mode;				/* mode for the Graph editor (eGraphEdit_Mode) */
 	short flag;				/* settings for Graph editor */
 	short autosnap;			/* time-transform autosnapping settings for Graph editor (eAnimEdit_AutoSnap in DNA_action_types.h) */
-	char pin, lock;
+	char pin, lock;			// XXX old, unused vars that are probably going to be depreceated soon...
 } SpaceIpo;
 
 typedef struct SpaceButs {





More information about the Bf-blender-cvs mailing list