[Bf-blender-cvs] [9cc10c51545] greasepencil-object: Enbale Random by default in Noise modifier

Antonio Vazquez noreply at git.blender.org
Wed Jul 19 13:15:37 CEST 2017


Commit: 9cc10c5154500133f8272c377ccbd94f95b747d0
Author: Antonio Vazquez
Date:   Wed Jul 19 13:15:21 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB9cc10c5154500133f8272c377ccbd94f95b747d0

Enbale Random by default in Noise modifier

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

M	source/blender/modifiers/intern/MOD_gpencilnoise.c

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

diff --git a/source/blender/modifiers/intern/MOD_gpencilnoise.c b/source/blender/modifiers/intern/MOD_gpencilnoise.c
index 54c0d453d37..87d2bd34bc2 100644
--- a/source/blender/modifiers/intern/MOD_gpencilnoise.c
+++ b/source/blender/modifiers/intern/MOD_gpencilnoise.c
@@ -47,6 +47,7 @@ static void initData(ModifierData *md)
 	gpmd->passindex = 0;
 	gpmd->flag |= GP_NOISE_MOD_LOCATION;
 	gpmd->flag |= GP_NOISE_FULL_STROKE;
+	gpmd->flag |= GP_NOISE_USE_RANDOM;
 	gpmd->factor = 0.5f;
 	gpmd->layername[0] = '\0';
 	gpmd->step = 1;




More information about the Bf-blender-cvs mailing list