From 887a61897e722aeca0b445da3e569af3bf626f38 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 29 Mar 2011 05:10:36 +0000 Subject: use RNA_warning() rather then printf() so we get the python line number. --- source/blender/makesrna/intern/rna_ui_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_ui_api.c') diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index 829ff59618b..2ee19b07d86 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -46,7 +46,7 @@ static void rna_uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, int flag= 0; if(!prop) { - printf("rna_uiItemR: property not found: %s.%s\n", RNA_struct_identifier(ptr->type), propname); + RNA_warning("rna_uiItemR: property not found: %s.%s\n", RNA_struct_identifier(ptr->type), propname); return; } -- cgit v1.2.3