fix: revert bad optional dereference -> fix
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 37s
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:07:45 +00:00
parent e1f7f0b070
commit f74f8b03bb
+2 -2
View File
@@ -14,8 +14,8 @@ core::AABB3D node_world_bounds(const AssemblyNode* node) {
// For root's direct children, this IS the world transform.
const auto& T = node->local_transform;
if (node->model->has_value()) {
core::AABB3D local_bb = node->model->bounds();
if (node->model.has_value()) {
core::AABB3D local_bb = node->model.bounds();
core::Point3D corners[8] = {
local_bb.min(),
core::Point3D(local_bb.max().x(), local_bb.min().y(), local_bb.min().z()),