From 5b935c32fe508c20de1902acc36f471efcd312e3 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 6 Oct 2023 14:28:29 -0700 Subject: [PATCH] p --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0b81b78..c669bf6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -235,7 +235,7 @@ impl GlobalState{ let id=unique_texture_models.len(); let mut unique_textures=Vec::new(); for group in model.groups.into_iter(){ - //ignore zero coppy optimization for now + //ignore zero copy optimization for now let texture_index=if let Some(texture_index)=unique_textures.iter().position(|&texture|texture==group.texture){ texture_index }else{