fix: optional<BrepModel> dereference with ->
This commit is contained in:
@@ -14,7 +14,7 @@ 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()) {
|
||||
if (node->model->has_value()) {
|
||||
core::AABB3D local_bb = node->model->bounds();
|
||||
core::Point3D corners[8] = {
|
||||
local_bb.min(),
|
||||
|
||||
Reference in New Issue
Block a user