Restore all_solid's loop: an unused index slipped in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk
This commit is contained in:
1 parent
2647b12e55
commit
0b627d6373
1 file changed
+1
-1
@@ -139,7 +139,7 @@ fn operation(op: BooleanOp) -> BooleanOperation {
|
||||
|
||||
/// Whether every body is a manifold solid (`IsManifoldSolid` of each copy).
|
||||
fn all_solid(bodies: &[Brep]) -> SolidResult<bool> {
|
||||
for (n, b) in bodies.iter().enumerate() {
|
||||
for b in bodies {
|
||||
if !p2::is_manifold_solid(b)? {
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user