Use modeler region bounds in automation queries and filters

This commit is contained in:
ramox81 committed 2026-09-11 15:09:42 +03:00
1 parent b42ae9d4a8
commit 974d5997d0
2 files changed
+8 -14

No files matched your search

+1 -1
View File
@@ -1718,7 +1718,7 @@ pub(crate) fn set_wire_aabb(w: &mut WireModel, entity_box: [f32; 4]) {
w.aabb = out;
}
fn entity_bounds(e: &acadrust::EntityType) -> ([f64; 3], [f64; 3]) {
pub(crate) fn entity_bounds(e: &acadrust::EntityType) -> ([f64; 3], [f64; 3]) {
if let acadrust::EntityType::Region(region) = e {
if region.wires.is_empty() {
if let Some(bounds) = super::solid3d_tess::kernel_region_body(region)