fn ensure_uniqueish_fingerprints()

in native/src/work_asset/construct.rs [176:190]


    fn ensure_uniqueish_fingerprints(&self) -> Result<()> {
        for (mesh_ix, fingerprints) in self.mesh_primitive_fingerprints.iter().enumerate() {
            for (primitive_ix, fingerprint) in fingerprints.iter().enumerate() {
                if let Some(other_print) =
                    self.find_almost_equal_fingerprint(mesh_ix, fingerprint, Some(primitive_ix))
                {
                    return Err(format!(
                        "Can't cope with primitives {} and {} of mesh {} being identical.",
                        primitive_ix, other_print, mesh_ix
                    ));
                }
            }
        }
        Ok(())
    }