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

@ -1 +1 @@
Subproject commit 8ee2942570f08d10484bb2328d0d1b0aaaa0367c
Subproject commit 80d9e7ee122c626cbbcd1da554683bce79f8d3df

@ -1 +1 @@
Subproject commit c49c16c38d4bce29a1e0518d5fad5d90f42ab5e7
Subproject commit 27fe7f3a4f964b53af436c4da4ddea337eff0c7e

@ -1 +1 @@
Subproject commit 16467648282500cc229c271f62201ef897f2c2c3
Subproject commit 42da56aa73726710107031787af5eea186797984

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

@ -1 +1 @@
Subproject commit 2e8c879248822c8e500ed49d79acc605e5aa75b9
Subproject commit 7c5acb95df918503d11cfc43172ce13901019289