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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user