formatting edits & remove debug print.

This commit is contained in:
2011-10-13 01:29:08 +00:00
parent 6955c47fac
commit 276e5f7095
28 changed files with 1331 additions and 1320 deletions

View File

@@ -50,7 +50,7 @@ static void operator_properties_init(wmOperatorType *ot)
* later */
RNA_def_struct_identifier(ot->srna, ot->idname);
if(pyrna_deferred_register_class(ot->srna, py_class) != 0) {
if (pyrna_deferred_register_class(ot->srna, py_class) != 0) {
PyErr_Print(); /* failed to register operator props */
PyErr_Clear();
}
@@ -72,8 +72,9 @@ void operator_wrapper(wmOperatorType *ot, void *userdata)
RNA_pointer_create(NULL, ot->srna, NULL, &ptr);
prop= RNA_struct_find_property(&ptr, "type");
if(prop)
if (prop) {
ot->prop= prop;
}
}
}