diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-29 09:10:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-29 09:10:36 +0400 |
commit | 887a61897e722aeca0b445da3e569af3bf626f38 (patch) | |
tree | c3e015d476a015f10d8796576a558ae62e015800 /source/blender/makesrna/intern/rna_ui_api.c | |
parent | 6e5ce953da2e7d6e85df7cfd8d6bffd00b740575 (diff) |
use RNA_warning() rather then printf() so we get the python line number.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |