- 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
This commit is contained in:
2010-09-09 17:41:36 +00:00
parent f9367c4c4d
commit 7bd1f9a234
4 changed files with 13 additions and 1 deletions

View File

@@ -45,6 +45,9 @@ static void operator_properties_init(wmOperatorType *ot)
PyErr_Print(); /* failed to register operator props */
PyErr_Clear();
}
// see bpy_types.py:Operator, May redo this some other way!
PyObject_CallMethod(py_class, "easy_getsets", NULL);
}
void operator_wrapper(wmOperatorType *ot, void *userdata)