[Bf-blender-cvs] [c78d83bca7a] blender2.8: GP: Set pixel shader fx lines to OFF by default

Antonioya noreply at git.blender.org
Fri Sep 28 16:52:30 CEST 2018


Commit: c78d83bca7a56ae4ebb7af86ec0b66e6f6f659d4
Author: Antonioya
Date:   Fri Sep 28 16:52:20 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc78d83bca7a56ae4ebb7af86ec0b66e6f6f659d4

GP: Set pixel shader fx lines to OFF by default

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

M	source/blender/shader_fx/intern/FX_shader_pixel.c

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

diff --git a/source/blender/shader_fx/intern/FX_shader_pixel.c b/source/blender/shader_fx/intern/FX_shader_pixel.c
index a3ffd3a9b0d..8c5c38d6aa7 100644
--- a/source/blender/shader_fx/intern/FX_shader_pixel.c
+++ b/source/blender/shader_fx/intern/FX_shader_pixel.c
@@ -39,7 +39,6 @@ static void initData(ShaderFxData *fx)
 	PixelShaderFxData *gpfx = (PixelShaderFxData *)fx;
 	ARRAY_SET_ITEMS(gpfx->size, 5, 5);
 	ARRAY_SET_ITEMS(gpfx->rgba, 0.0f, 0.0f, 0.0f, 0.9f);
-	gpfx->flag |= FX_PIXEL_USE_LINES;
 }
 
 static void copyData(const ShaderFxData *md, ShaderFxData *target)



More information about the Bf-blender-cvs mailing list