2.5 - 2 Bugfixes:
authorJoshua Leung <aligorith@gmail.com>
Sun, 17 May 2009 06:57:48 +0000 (06:57 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 17 May 2009 06:57:48 +0000 (06:57 +0000)
* 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).

source/blender/editors/animation/keyframing.c
source/blender/editors/interface/resources.c

index 6d0c15ab724b42adb0f58b1843c7ee17f7ef01d1..9a40fb44f475fd785aa25b1342ae58863abe92b9 100644 (file)
@@ -1226,8 +1226,11 @@ static int insert_key_button_exec (bContext *C, wmOperator *op)
                        
                        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);
index 3a2c6fa28be9669b78049458bf17e33c7bc9ddc6..1cb58c986d036886cd526d8afee53ec0d61c7a07 100644 (file)
@@ -499,6 +499,8 @@ void ui_theme_init_userdef(void)
 
        /* 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 */