Separate spline fit and control properties

This commit is contained in:
ramox81 2026-08-19 17:21:49 +03:00
commit 96e8d75cc5
3 changed files with 35 additions and 9 deletions

View file

@ -2138,7 +2138,9 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
(
"current_control_point",
acadrust::EntityType::Spline(spline),
) => Some(spline.control_points.len()),
) => Some(
crate::entities::spline::control_vertex_count(spline),
),
_ => None,
}
})