[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21176] branches/soc-2009-aligorith/source /blender/editors/interface/resources.c: NLA SoC: Theme colours in old defaults files for NLA now get replaced with the nice new colours

Joshua Leung aligorith at gmail.com
Sat Jun 27 02:40:25 CEST 2009


Revision: 21176
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21176
Author:   aligorith
Date:     2009-06-27 02:40:25 +0200 (Sat, 27 Jun 2009)

Log Message:
-----------
NLA SoC: Theme colours in old defaults files for NLA now get replaced with the nice new colours

Modified Paths:
--------------
    branches/soc-2009-aligorith/source/blender/editors/interface/resources.c

Modified: branches/soc-2009-aligorith/source/blender/editors/interface/resources.c
===================================================================
--- branches/soc-2009-aligorith/source/blender/editors/interface/resources.c	2009-06-26 21:51:23 UTC (rev 21175)
+++ branches/soc-2009-aligorith/source/blender/editors/interface/resources.c	2009-06-27 00:40:25 UTC (rev 21176)
@@ -1075,19 +1075,6 @@
 			SETCOL(btheme->ttime.cframe, 0x60, 0xc0, 0x40, 255);
 		}
 	}
-	if ((G.main->versionfile < 245) || (G.main->versionfile == 245 && G.main->subversionfile < 11)) {
-		bTheme *btheme;
-		for (btheme= U.themes.first; btheme; btheme= btheme->next) {
-			/* these should all use the same color */
-			SETCOL(btheme->tv3d.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->tipo.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->tact.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->tnla.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->tseq.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->tsnd.cframe, 0x60, 0xc0, 0x40, 255);
-			SETCOL(btheme->ttime.cframe, 0x60, 0xc0, 0x40, 255);
-		}
-	}
 	if ((G.main->versionfile < 245) || (G.main->versionfile == 245 && G.main->subversionfile < 13)) {
 		bTheme *btheme;
 		for (btheme= U.themes.first; btheme; btheme= btheme->next) {
@@ -1210,6 +1197,13 @@
 			/* Graph Editor - Group Channel color */
 			SETCOL(btheme->tipo.group, 79, 101, 73, 255);
 			SETCOL(btheme->tipo.group_active, 135, 177, 125, 255);
+			
+			/* Nla Editor - (Object) Channel color */
+			SETCOL(btheme->tnla.ds_channel, 	82, 96, 110, 255);
+			SETCOL(btheme->tnla.ds_subchannel,	124, 137, 150, 255);
+			/* NLA Editor - New Strip colors */
+			SETCOL(btheme->tnla.strip, 			12, 10, 10, 128); 
+			SETCOL(btheme->tnla.strip_select, 	255, 140, 0, 255);
 		}
 		
 		/* adjust grease-pencil distances */





More information about the Bf-blender-cvs mailing list