[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35859] trunk/blender/source/blender/ makesrna/intern/rna_ui_api.c: use RNA_warning() rather then printf() so we get the python line number.
Campbell Barton
ideasman42 at gmail.com
Tue Mar 29 07:10:37 CEST 2011
Revision: 35859
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35859
Author: campbellbarton
Date: 2011-03-29 05:10:36 +0000 (Tue, 29 Mar 2011)
Log Message:
-----------
use RNA_warning() rather then printf() so we get the python line number.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_ui_api.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_ui_api.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_ui_api.c 2011-03-29 04:16:55 UTC (rev 35858)
+++ trunk/blender/source/blender/makesrna/intern/rna_ui_api.c 2011-03-29 05:10:36 UTC (rev 35859)
@@ -46,7 +46,7 @@
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;
}
More information about the Bf-blender-cvs
mailing list