[Bf-blender-cvs] [b92b250b081] blender2.8: Fix missing manipulator update after undo
Julian Eisel
noreply at git.blender.org
Sat Apr 15 16:00:12 CEST 2017
Commit: b92b250b081db387d68b4b8d06f33354c0725f25
Author: Julian Eisel
Date: Sat Apr 15 15:58:49 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBb92b250b081db387d68b4b8d06f33354c0725f25
Fix missing manipulator update after undo
Steps to recreate the error were:
* Enter edit mode
* Change Vertex positions
* Undo -> Manipulator position isn't updated
===================================================================
M source/blender/editors/space_view3d/space_view3d.c
===================================================================
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 023c9fcd4e6..5c3b669d64e 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -839,6 +839,11 @@ static void view3d_main_region_listener(bScreen *sc, ScrArea *sa, ARegion *ar, w
/* context changes */
switch (wmn->category) {
+ case NC_WM:
+ if (ELEM(wmn->data, ND_UNDO)) {
+ WM_manipulatormap_tag_refresh(mmap);
+ }
+ break;
case NC_ANIMATION:
switch (wmn->data) {
case ND_KEYFRAME_PROP:
More information about the Bf-blender-cvs
mailing list