[Bf-blender-cvs] [9a7f7757f81] greasepencil-object: GPencil: Fix missing modifiers initialization

Antonioya noreply at git.blender.org
Fri Jul 26 17:12:11 CEST 2019


Commit: 9a7f7757f81a2181d9551474a0bc5e0975be0441
Author: Antonioya
Date:   Fri Jul 26 17:12:00 2019 +0200
Branches: greasepencil-object
https://developer.blender.org/rB9a7f7757f81a2181d9551474a0bc5e0975be0441

GPencil: Fix missing modifiers initialization

This was missing when the modifier was ported from NPR branch

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

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 5b5290dc0ff..c0ecd3bf0eb 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c
@@ -71,6 +71,8 @@ void gpencil_modifier_type_init(GpencilModifierTypeInfo *types[])
   INIT_GP_TYPE(Offset);
   INIT_GP_TYPE(Armature);
   INIT_GP_TYPE(Time);
+  INIT_GP_TYPE(Length);
+  INIT_GP_TYPE(Multiply);
 #undef INIT_GP_TYPE
 }



More information about the Bf-blender-cvs mailing list