[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20234] branches/blender2.5/blender/source /blender/editors: 2.5 - 2 Bugfixes:

Joshua Leung aligorith at gmail.com
Sun May 17 08:57:49 CEST 2009


Revision: 20234
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20234
Author:   aligorith
Date:     2009-05-17 08:57:48 +0200 (Sun, 17 May 2009)

Log Message:
-----------
2.5 - 2 Bugfixes:

* Long Keyframes get shown again in DopeSheet. Some theme cleanouts cleared the theme colours for these.
* An error is now presented when there are problems trying to resolve a path to keyframe some settings now (instead of silently giving up).

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/animation/keyframing.c
    branches/blender2.5/blender/source/blender/editors/interface/resources.c

Modified: branches/blender2.5/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/animation/keyframing.c	2009-05-16 23:47:17 UTC (rev 20233)
+++ branches/blender2.5/blender/source/blender/editors/animation/keyframing.c	2009-05-17 06:57:48 UTC (rev 20234)
@@ -1226,8 +1226,11 @@
 			
 			MEM_freeN(path);
 		}
-		else if (G.f & G_DEBUG)
-			printf("Button Insert-Key: no path to property \n");
+		else {
+			if (G.f & G_DEBUG)
+				printf("Button Insert-Key: no path to property \n");
+			BKE_report(op->reports, RPT_WARNING, "Failed to resolve path to property. Try using a Keying Set instead.");
+		}
 	}
 	else if (G.f & G_DEBUG) {
 		printf("ptr.data = %p, prop = %p,", ptr.data, prop);

Modified: branches/blender2.5/blender/source/blender/editors/interface/resources.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/interface/resources.c	2009-05-16 23:47:17 UTC (rev 20233)
+++ branches/blender2.5/blender/source/blender/editors/interface/resources.c	2009-05-17 06:57:48 UTC (rev 20234)
@@ -499,6 +499,8 @@
 
 	/* dopesheet */
 	btheme->tact= btheme->tipo;
+	SETCOL(btheme->tact.strip, 			12, 10, 10, 128); 
+	SETCOL(btheme->tact.strip_select, 	255, 140, 0, 255); 
 
 	/* space file */
 	/* to have something initialized */





More information about the Bf-blender-cvs mailing list