diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-12-15 00:47:46 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-12-15 00:53:07 +0300 |
commit | a63209e175444938731a248253f859b438bc467b (patch) | |
tree | 3e971a29e8a92711404a7de99451c64a1a8a8041 /source/blender/editors/uvedit | |
parent | 2b7e56964a922033e6933c1d55fde205bfee8b2a (diff) |
Fix T59381: UV editor - Pinned vertex missing update
Pinning doesn't really change the geometry, so we don't really have a
tag for this. Using '0' for now (same we use for Mark Seam).
I will check with Sergey Sharybin which flag to use instead.
We could use ID_RECALC_GEOMETRY to match the notifier, but even the
simpler ID_RECALC_SELECT would do it.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 54909610850..7683f704008 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -3969,6 +3969,7 @@ static int uv_pin_exec(bContext *C, wmOperator *op) if (changed) { WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); + DEG_id_tag_update(obedit->data, 0); } } MEM_freeN(objects); |