fix: call .value() on optional before .bounds()
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 34s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled

This commit is contained in:
茂之钳
2026-07-24 14:08:29 +00:00
parent f74f8b03bb
commit d9a673257e
+1 -1
View File
@@ -15,7 +15,7 @@ core::AABB3D node_world_bounds(const AssemblyNode* node) {
const auto& T = node->local_transform;
if (node->model.has_value()) {
core::AABB3D local_bb = node->model.bounds();
core::AABB3D local_bb = node->model.value().bounds();
core::Point3D corners[8] = {
local_bb.min(),
core::Point3D(local_bb.max().x(), local_bb.min().y(), local_bb.min().z()),