diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-09 14:39:35 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-09 14:39:35 +0300 |
commit | f284821bf714cca98d86ede1e2a9713094d1d686 (patch) | |
tree | b96b2aa9080f776c0d589238dab7548b7416f036 /source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c | |
parent | 0de50a98e384012628ea38dfceebd99f64bcea47 (diff) |
GP: Undo incorrect modification in previous commit
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c b/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c index 3914d960a79..151218c06e4 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c @@ -165,7 +165,7 @@ void gpencil_apply_modifier_material( copy_v4_v4(newmat->gp_style->stroke_rgba, gps->runtime.tmp_stroke_rgba); copy_v4_v4(newmat->gp_style->fill_rgba, gps->runtime.tmp_fill_rgba); - BLI_ghash_insert(gh_color, newmat->id.name, newmat); + BLI_ghash_insert(gh_color, mat->id.name, newmat); DEG_id_tag_update(&newmat->id, DEG_TAG_COPY_ON_WRITE); } /* reasign color index */ |