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 02ae7bc commit d57f13f
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 d57f13f

Please sign in to comment.