forked from bartvdbraak/blender
use RNA_warning() rather then printf() so we get the python line number.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user