GPv3: Reverse Curve node #113702

Manually merged
Dalai Felinto merged 55 commits from dfelinto/blender:grease-nodes-reverted-node into main 2023-10-16 11:54:19 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit ed2e42d62c - Show all commits

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