Commit: f284821bf714cca98d86ede1e2a9713094d1d686
Author: Antonioya
Date:   Thu Aug 9 13:39:35 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf284821bf714cca98d86ede1e2a9713094d1d686

GP: Undo incorrect modification in previous commit

===================================================================

M       source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c

===================================================================

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 */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to