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-21 18:55:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-21 18:55:11 +0300
commitbe89b95e983566a74e72ab51fddacee49b808869 (patch)
tree932e9be37c2ba98ee6b5f8c3feb6ba55dc8ab14d /source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
parent3e555d3d785b17bf9398d7666d5131c994da8c6b (diff)
Fix crash re-registering manipulators
Duplicating strings caused problems using strings in both struct hash and manipulator group types own hash.
Diffstat (limited to 'source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c')
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
index 7dd696caf39..87a5ee11d18 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
@@ -719,6 +719,7 @@ void WM_manipulator_group_remove_ptr_ex(
wmManipulatorMapType *mmap_type)
{
WM_manipulatormaptype_group_unlink(NULL, bmain, mmap_type, wgt);
+ WM_manipulatorgrouptype_remove_ptr(wgt);
}
void WM_manipulator_group_remove_ptr(