Fix: update auto bezier handles after toggling cyclic

This commit is contained in:
Jacques Lucke
2024-04-11 11:50:31 +02:00
parent fb22ee6f0c
commit 183ac7d2a2

View File

@@ -1365,6 +1365,8 @@ static int exec(bContext *C, wmOperator * /*op*/)
attributes.remove("cyclic");
}
curves.calculate_bezier_auto_handles();
DEG_id_tag_update(&curves_id->id, ID_RECALC_GEOMETRY);
WM_event_add_notifier(C, NC_GEOM | ND_DATA, curves_id);
}