Commit: 73df38a8791049dd96d176b1763d2c268163cef8
Author: Campbell Barton
Date: Fri Aug 18 07:50:31 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB73df38a8791049dd96d176b1763d2c268163cef8
RNA: don't register manipulator properties by name
Matching behavior for operators.
===================================================================
M source/blender/python/intern/bpy_manipulator_wrap.c
===================================================================
diff --git a/source/blender/python/intern/bpy_manipulator_wrap.c
b/source/blender/python/intern/bpy_manipulator_wrap.c
index 3aca0cda224..a4188698a5e 100644
--- a/source/blender/python/intern/bpy_manipulator_wrap.c
+++ b/source/blender/python/intern/bpy_manipulator_wrap.c
@@ -130,7 +130,7 @@ static void manipulator_properties_init(wmManipulatorType
*wt)
/* only call this so pyrna_deferred_register_class gives a useful error
* WM_operatortype_append_ptr will call RNA_def_struct_identifier
* later */
- RNA_def_struct_identifier(&BLENDER_RNA, wt->srna, wt->idname);
+ RNA_def_struct_identifier_no_struct_map(wt->srna, wt->idname);
if (pyrna_deferred_register_class(wt->srna, py_class) != 0) {
PyErr_Print(); /* failed to register operator props */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs