Fix #113429: Dirty evaluated curve #113717

Merged
Hans Goudey merged 2 commits from mod_moder/blender:fix_curve_set_h_t_c into blender-v4.0-release 2023-10-15 20:59:30 +02:00
1 changed files with 2 additions and 0 deletions

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();