diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-07 22:04:00 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-07 22:04:14 +0300 |
commit | 81a09628c29d788affb0686e9ebdce7dc6a09d2d (patch) | |
tree | fcdebb833c2b65deffca3bc7f5d5cc2560346179 /source | |
parent | 8ef460ddab266f3d47719ea1856aa633ea74c17d (diff) |
GPencil: Update stroke when UV factor is changed
The stroke was updated only after doing a refresh operation.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index d17e83677d7..5544e0c5c4c 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -1994,6 +1994,7 @@ void ED_gpencil_update_color_uv(Main *bmain, Material *mat) } } } + DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY); } } } |