diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-05-17 10:57:48 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-05-17 10:57:48 +0400 |
commit | 1588bf4dbd714db6fed679175d0e171b29aea87c (patch) | |
tree | f0b53813c2876bdfd3111dc99e9ade7391766b0c /source | |
parent | aaa96cde658bfc971298f01667476d5ed7185212 (diff) |
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).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 7 | ||||
-rw-r--r-- | source/blender/editors/interface/resources.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 6d0c15ab724..9a40fb44f47 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -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); diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 3a2c6fa28be..1cb58c986d0 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -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 */ |