Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-05-17 10:57:48 +0400
committerJoshua Leung <aligorith@gmail.com>2009-05-17 10:57:48 +0400
commit1588bf4dbd714db6fed679175d0e171b29aea87c (patch)
treef0b53813c2876bdfd3111dc99e9ade7391766b0c /source/blender/editors/animation
parentaaa96cde658bfc971298f01667476d5ed7185212 (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/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/keyframing.c7
1 files changed, 5 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);