From 7bd1f9a234aa0adeecc3ec8e77eead598b5af232 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Sep 2010 17:41:36 +0000 Subject: - bugfix, operators were getting their properties registered twice. - operator properties are now converted into python property() class members which bypass the operator 'properties' member. self.properties.mysetting ... can now be written as ... self.mysetting - fix for error reloading rigify --- source/blender/makesrna/intern/rna_wm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_wm.c') diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index f4c19db1277..900a1fd60cf 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -840,6 +840,7 @@ static StructRNA *rna_Operator_register(const bContext *C, ReportList *reports, /* create a new menu type */ dummyot.ext.srna= RNA_def_struct(&BLENDER_RNA, dummyot.idname, "Operator"); + RNA_def_struct_flag(dummyot.ext.srna, STRUCT_NO_IDPROPERTIES); /* operator properties are registered separately */ dummyot.ext.data= data; dummyot.ext.call= call; dummyot.ext.free= free; -- cgit v1.2.3