Fix: GPv3: Crash when storing deformed points
The issue was that the optional array was not correctly initialized. Ref !113858
This commit is contained in:
committed by
Dalai Felinto
parent
c5ed37a5c0
commit
ed124d23d1
@@ -98,7 +98,7 @@ static void remember_deformed_grease_pencil_if_necessary(const GreasePencil *gre
|
||||
if (drawing->strokes().points_num() != orig_drawing->strokes().points_num()) {
|
||||
continue;
|
||||
}
|
||||
drawing_hints.positions->as_mutable_span().copy_from(drawing->strokes().positions());
|
||||
drawing_hints.positions.emplace(drawing->strokes().positions());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user