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.
|
// For root's direct children, this IS the world transform.
|
||||||
const auto& T = node->local_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::AABB3D local_bb = node->model->bounds();
|
||||||
core::Point3D corners[8] = {
|
core::Point3D corners[8] = {
|
||||||
local_bb.min(),
|
local_bb.min(),
|
||||||
|
|||||||
Reference in New Issue
Block a user