From 9dd43244a2ca255d9b89668d2eb184e7eacab24b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 17 Aug 2010 13:12:58 +0000 Subject: when complaining that an RNA name doesnt exist in the UI, give the struct name as well. --- source/blender/editors/space_image/image_buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_image/image_buttons.c') 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; } -- cgit v1.2.3