diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-23 12:36:52 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-23 12:37:08 +0300 |
commit | 9ff73e61b1a3c825fec5c2daffbe017c6cd7377d (patch) | |
tree | c6f689cb76aa56a77ba52fa625549037c9d7a6ad /source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c | |
parent | baa5fe1bfcdecc6a2697c2629dae6ff24e217877 (diff) |
Fix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points
Also fixed Lattice and Noise modifier.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c index 97f260f307f..06cdbfcbbce 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c @@ -210,7 +210,7 @@ static void deformStroke( if (!is_stroke_affected_by_modifier( ob, - mmd->layername, mmd->pass_index, mmd->layer_pass, 3, gpl, gps, + mmd->layername, mmd->pass_index, mmd->layer_pass, 1, gpl, gps, mmd->flag & GP_HOOK_INVERT_LAYER, mmd->flag & GP_HOOK_INVERT_PASS, mmd->flag & GP_HOOK_INVERT_LAYERPASS)) { |