Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid recursion in csg tree #1086

Merged
merged 14 commits into from
Dec 3, 2024
2 changes: 1 addition & 1 deletion src/constructors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Manifold Manifold::Compose(const std::vector<Manifold>& manifolds) {
for (const auto& manifold : manifolds) {
children.push_back(manifold.pNode_->ToLeafNode());
}
return Manifold(std::make_shared<Impl>(CsgLeafNode::Compose(children)));
return Manifold(CsgLeafNode::Compose(children));
}

/**
Expand Down
Loading
Loading