diff options
author | YimingWu <xp8110@outlook.com> | 2021-10-26 12:09:17 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-10-26 12:11:51 +0300 |
commit | fee2cedb33ccf33f72d0370892dd25faa884968b (patch) | |
tree | 043e848756f883731f6c24b24a2d1a0b5b3bd3f5 /source/blender | |
parent | f11ed418e5faeb31aa6d581c320a2893a396878c (diff) |
GPencil: Fix(unreported) Dash modifier wrong logic.
When the modifier iterates to an empty layer with no frame it will return,
while the correct logic is to continue.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencildash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencildash.c b/source/blender/gpencil_modifiers/intern/MOD_gpencildash.c index ba33edd6a94..33cc3094a36 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencildash.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencildash.c @@ -255,7 +255,7 @@ static void generateStrokes(GpencilModifierData *md, Depsgraph *depsgraph, Objec BKE_gpencil_frame_active_set(depsgraph, gpd); bGPDframe *gpf = gpl->actframe; if (gpf == NULL) { - return; + continue; } apply_dash_for_frame(ob, gpl, gpd, gpf, (DashGpencilModifierData *)md); } |