Fix: Missing cache invalidation in grease pencil transform operator

This commit is contained in:
Hans Goudey
2025-03-06 12:40:46 -05:00
parent 5f464b2de0
commit 4fd96e61d5

View File

@@ -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 =