Fix: Missing cache invalidation in grease pencil transform operator
This commit is contained in:
@@ -249,10 +249,10 @@ static void recalcData_grease_pencil(TransInfo *t)
|
||||
bke::CurvesGeometry &curves = info.drawing.strokes_for_write();
|
||||
|
||||
if (t->mode == TFM_CURVE_SHRINKFATTEN) {
|
||||
/* No cache to update currently. */
|
||||
curves.tag_radii_changed();
|
||||
}
|
||||
else if (t->mode == TFM_TILT) {
|
||||
/* No cache to update currently. */
|
||||
curves.tag_normals_changed();
|
||||
}
|
||||
else {
|
||||
const Vector<MutableSpan<float3>> positions_per_selection_attr =
|
||||
|
||||
Reference in New Issue
Block a user