Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-11-20 23:58:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-20 23:58:46 +0300
commit34e7eb16769c31ba99fe5b74f06fd5c219b1133b (patch)
treea8d17a4c21abaea8249630b574f180db08e6d2f6 /source/blender/python/intern/bpy_operator_wrap.c
parent19aa69f6f2a131cb00c8b3e79f635b4a28f4dc96 (diff)
use a metaclass to have operator attributes register and display in the order defined.
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.c')
-rw-r--r--source/blender/python/intern/bpy_operator_wrap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c
index 1aa56befe0e..3789c5b1258 100644
--- a/source/blender/python/intern/bpy_operator_wrap.c
+++ b/source/blender/python/intern/bpy_operator_wrap.c
@@ -294,7 +294,6 @@ void PYTHON_OT_wrapper(wmOperatorType *ot, void *userdata)
* later */
RNA_def_struct_identifier(ot->srna, ot->idname);
-
if(pyrna_deferred_register_props(ot->srna, item)!=0) {
/* failed to register operator props */
PyErr_Print();