Fix missing manipulator update after undo

Steps to recreate the error were:
* Enter edit mode
* Change Vertex positions
* Undo -> Manipulator position isn't updated
This commit is contained in:
Julian Eisel 2017-04-15 15:58:49 +02:00
parent 2f78d58681
commit b92b250b08
1 changed files with 5 additions and 0 deletions

View File

@ -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: