Skip to content

Commit

Permalink
obj: separate objects for sensitives and portals
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Oct 2, 2024
1 parent 007a854 commit 542e5e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core/src/Geometry/TrackingVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@ void TrackingVolume::visualize(IVisualization3D& helper,
helper.object(volumeName());
Volume::visualize(helper, gctx, viewConfig);

if (!surfaces().empty()) {
helper.object(volumeName() + "_sensitives");
}
for (const auto& surface : surfaces()) {
surface.visualize(helper, gctx, sensitiveViewConfig);
}
Expand Down

0 comments on commit 542e5e4

Please sign in to comment.