[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34610] trunk/blender/source/blender/ python/intern/bpy_rna.c: partial revert for r34590, exclude render() from enabling the read-only state.
Campbell Barton
ideasman42 at gmail.com
Tue Feb 1 21:38:24 CET 2011
Revision: 34610
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34610
Author: campbellbarton
Date: 2011-02-01 20:38:24 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
partial revert for r34590, exclude render() from enabling the read-only state.
will re-open [#25845] and assign to Brecht.
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34590
Modified Paths:
--------------
trunk/blender/source/blender/python/intern/bpy_rna.c
Modified: trunk/blender/source/blender/python/intern/bpy_rna.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_rna.c 2011-02-01 20:18:29 UTC (rev 34609)
+++ trunk/blender/source/blender/python/intern/bpy_rna.c 2011-02-01 20:38:24 UTC (rev 34610)
@@ -5336,7 +5336,7 @@
#ifdef USE_PEDANTIC_WRITE
const char *func_id= RNA_function_identifier(func);
/* testing, for correctness, not operator and not draw function */
- const short is_readonly= strstr("draw", func_id) || strstr("render", func_id) || !RNA_struct_is_a(ptr->type, &RNA_Operator);
+ const short is_readonly= strstr("draw", func_id) || /*strstr("render", func_id) ||*/ !RNA_struct_is_a(ptr->type, &RNA_Operator);
#endif
py_class= RNA_struct_py_type_get(ptr->type);
More information about the Bf-blender-cvs
mailing list