Fix 3D polyline behavior and properties

This commit is contained in:
ramox81 committed 2026-08-28 11:21:03 +03:00
1 parent cc430cdbe9
commit 3ca959a34b
7 files changed
+305 -43

No files matched your search

+3
View File
@@ -1701,6 +1701,9 @@ fn coord_suffix(label: &str) -> Option<(&str, usize)> {
/// Length of the coordinate group starting at `idx`: consecutive text rows
/// labelled "<Base> X", "<Base> Y" and optionally "<Base> Z". 0/1 = no group.
fn coord_group_len(props: &[crate::scene::model::object::Property], idx: usize) -> usize {
if props[idx].field == "pl3_vertex_x" {
return 0;
}
let groupable = |p: &crate::scene::model::object::Property| {
matches!(
p.value,