GPencil: Fix unreported error in Build modifier

In patch D16759 cleanup a  else was removed by error which
 deals with situations where current gpf was copied, 
so that previous gpf may have MORE strokes than current gpf.

Reviewed By: antoniov

Differential Revision: https://developer.blender.org/D16986
This commit is contained in:
Marc Chéhab
2023-01-12 15:35:25 +01:00
committed by Antonio Vazquez
parent 589d1be147
commit 063caae72e

View File

@@ -289,6 +289,9 @@ static void build_sequential(Object *ob,
if (start_stroke <= tot_strokes) {
tot_strokes = tot_strokes - start_stroke;
}
else {
start_stroke = 0;
}
}
/* 2) Compute proportion of time each stroke should occupy. */