use RNA_warning() rather then printf() so we get the python line number.

This commit is contained in:
Campbell Barton 2011-03-29 05:10:36 +00:00
parent 6e5ce953da
commit 887a61897e

@ -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;
}