mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
Booleans: the copies no longer take an index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MNXLXkZLQ6T7TSi4wswcmk
This commit is contained in:
@@ -82,7 +82,7 @@ fn finish(r: Brep, solid_in: bool, nonmanifold: bool) -> SolidResult<Done> {
|
||||
fn copies(k: &mut Kernel, bodies: &[&Body]) -> SolidResult<Vec<Brep>> {
|
||||
// Under the kernel's lock (`run` holds it), as every body lock is: two never deadlock.
|
||||
let mut out = Vec::with_capacity(bodies.len());
|
||||
for (n, b) in bodies.iter().enumerate() {
|
||||
for b in bodies {
|
||||
let g = b.0.lock().unwrap_or_else(PoisonError::into_inner);
|
||||
let c = brep_copy(k, &g)?;
|
||||
drop(g);
|
||||
|
||||
Reference in New Issue
Block a user