diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 17:12:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 17:12:58 +0400 |
commit | 9dd43244a2ca255d9b89668d2eb184e7eacab24b (patch) | |
tree | b78c854a29fd7e2fcc582b04531611250dd32f8f /source/blender/editors/space_image/image_buttons.c | |
parent | 8db2707fa22d35bf6efbf521368d241caa1e2c6f (diff) |
when complaining that an RNA name doesnt exist in the UI, give the struct name as well.
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 7c84f0219e0..188ae109733 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -766,7 +766,7 @@ void uiTemplateImage(uiLayout *layout, bContext *C, PointerRNA *ptr, char *propn prop= RNA_struct_find_property(ptr, propname); if(!prop) { - printf("uiTemplateImage: property not found: %s\n", propname); + printf("uiTemplateImage: property not found: %s.%s\n", RNA_struct_identifier(ptr->type), propname); return; } |