Fix #113429: Dirty evaluated curve

Tag curve topology as dirty after changing of types of handles.

Pull Request: https://projects.blender.org/blender/blender/pulls/113717
This commit is contained in:
Iliya Katueshenock
2023-10-15 20:59:21 +02:00
committed by Hans Goudey
parent c584b6434f
commit 4d91c50b62

View File

@@ -73,6 +73,8 @@ static void set_handle_type(bke::CurvesGeometry &curves,
curves.handle_types_right_for_write(), new_handle_type, selection);
}
curves.tag_topology_changed();
/* Eagerly calculate automatically derived handle positions if necessary. */
if (ELEM(new_handle_type, BEZIER_HANDLE_AUTO, BEZIER_HANDLE_VECTOR, BEZIER_HANDLE_ALIGN)) {
curves.calculate_bezier_auto_handles();