diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-12-20 15:39:02 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-12-20 15:40:36 +0300 |
commit | 8095e660c0d8694022c6f76cab26c953a7fb527b (patch) | |
tree | 738000bdc5f1ea4abc20053a63dbcecd4d785fee /source/blender/editors | |
parent | 30dea81fb6d2fc07d27f26d4522c29072b38e5cc (diff) |
Fix T59672: UVs are not updating when changed in panel
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4111
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_buttons.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/uvedit/uvedit_buttons.c b/source/blender/editors/uvedit/uvedit_buttons.c index 317a07bcf96..4af46ffa610 100644 --- a/source/blender/editors/uvedit/uvedit_buttons.c +++ b/source/blender/editors/uvedit/uvedit_buttons.c @@ -49,6 +49,8 @@ #include "BKE_screen.h" #include "BKE_editmesh.h" +#include "DEG_depsgraph.h" + #include "ED_image.h" #include "ED_uvedit.h" @@ -204,6 +206,7 @@ static void do_uvedit_vertex(bContext *C, void *UNUSED(arg), int event) uvedit_translate(scene, obedit, em, ima, delta); WM_event_add_notifier(C, NC_IMAGE, sima->image); + DEG_id_tag_update((ID *)obedit->data, ID_RECALC_GEOMETRY); } /* Panels */ |