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:
authorDalai Felinto <dfelinto@gmail.com>2018-12-15 01:33:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-12-15 01:33:31 +0300
commitfa41350c720b56ecfd3fca0be4c0f7cce5a96c96 (patch)
tree1497f705997519c9bb668e3ab7433854861d3cad /source/blender/editors/uvedit
parenta63209e175444938731a248253f859b438bc467b (diff)
UV pin: Use ID_RECALC_COPY_ON_WRITE instead of the almighty 0
I suppose the cow tag is more correct for those generic/non-specific tags. Thank you Sergey.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 7683f704008..bb0c11b171b 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -3969,7 +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);
+ DEG_id_tag_update(obedit->data, ID_RECALC_COPY_ON_WRITE);
}
}
MEM_freeN(objects);