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:
Submodule release/datafiles/locale updated: 8ee2942570...80d9e7ee12
Submodule release/scripts/addons updated: c49c16c38d...27fe7f3a4f
Submodule release/scripts/addons_contrib updated: 1646764828...42da56aa73
@@ -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);
|
||||
}
|
||||
|
Submodule source/tools updated: 2e8c879248...7c5acb95df
Reference in New Issue
Block a user