1
1

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.
This commit is contained in:
2021-10-26 17:09:17 +08:00
parent f11ed418e5
commit fee2cedb33
5 changed files with 5 additions and 5 deletions

View File

@@ -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);
}