Skip to content

Commit

Permalink
blueprint: Cyl gap policy reg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Nov 18, 2024
1 parent 3ef4726 commit 4360fbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Core/src/Geometry/CylinderContainerBlueprintNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@ void CylinderContainerBlueprintNode::finalize(const Options& options,
ACTS_DEBUG(prefix() << "Registering " << m_gaps.size()
<< " gap volumes with parent");
for (auto& [shell, gap] : m_gaps) {
std::cout << "~> " << gap->volumeName() << std::endl;
auto* gapPtr = gap.get();
parent.addVolume(std::move(gap));
shell->applyToVolume();
gap->setNavigationPolicy(policyFactory->build(gctx, *gap, logger));
auto policy = policyFactory->build(gctx, *gapPtr, logger);
gapPtr->setNavigationPolicy(policyFactory->build(gctx, *gapPtr, logger));
}

ACTS_DEBUG(prefix() << "Finalizing " << children().size() << " children");
Expand Down

0 comments on commit 4360fbb

Please sign in to comment.