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>2017-08-18 00:50:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-18 00:50:31 +0300
commit73df38a8791049dd96d176b1763d2c268163cef8 (patch)
tree2b4819bf29f4d6db9d0598fa0941656af11d63b0 /source/blender/python
parent4d93323b8aa5b9da39195fb7d67bb8998734e08c (diff)
RNA: don't register manipulator properties by name
Matching behavior for operators.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_manipulator_wrap.c2
1 files changed, 1 insertions, 1 deletions
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 */