[Bf-blender-cvs] [f7bc2d1abe5] greasepencil-object: GPencil: Patch old Glow effect setting size and opacity

Antonio Vazquez noreply at git.blender.org
Mon Feb 17 17:24:41 CET 2020


Commit: f7bc2d1abe5f836785c0d164dc2eef7fc661a63c
Author: Antonio Vazquez
Date:   Mon Feb 17 17:23:56 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rBf7bc2d1abe5f836785c0d164dc2eef7fc661a63c

GPencil: Patch old Glow effect setting size and opacity

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

M	source/blender/blenloader/intern/versioning_280.c

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

diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 63400acd532..863632c10b1 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -4458,7 +4458,9 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
             case eShaderFxType_Glow: {
               GlowShaderFxData *vfx = (GlowShaderFxData *)fx;
               srgb_to_linearrgb_v3_v3(vfx->glow_color, vfx->glow_color);
+              vfx->glow_color[3] = 1.0f;
               srgb_to_linearrgb_v3_v3(vfx->select_color, vfx->select_color);
+              vfx->blur[1] = vfx->blur[0];
               break;
             }
             default:



More information about the Bf-blender-cvs mailing list