From 90cca51e6e1854b2e354ecd10d60d499adcf727e Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 7 Feb 2024 19:50:03 -0800 Subject: [PATCH] patch arcane --- src/graphics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics.rs b/src/graphics.rs index 0a0be3a..e83ee9e 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -221,7 +221,7 @@ impl GraphicsState{ for model in indexed_models.models.into_iter(){ //convert ModelInstance into GraphicsModelInstance let instances:Vec=model.instances.into_iter().filter_map(|instance|{ - if instance.color.w==0.0{ + if instance.color.w==0.0&&!model.groups.iter().any(|g|g.texture.is_some()){ None }else{ Some(GraphicsModelInstance{