From ca1786029cf64df0b15b73827e99f44212afb889 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 28 Sep 2023 18:30:25 -0700 Subject: [PATCH] group variable --- src/load_roblox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/load_roblox.rs b/src/load_roblox.rs index 28411be..4554b0b 100644 --- a/src/load_roblox.rs +++ b/src/load_roblox.rs @@ -98,13 +98,13 @@ pub fn generate_indexed_models_roblox(dom:rbx_dom_weak::WeakDom) -> Result<(Inde let mut spawn_point=glam::Vec3::ZERO; let mut indexed_models=Vec::new(); + let mut model_id_from_description=std::collections::HashMap::::new(); let mut texture_id_from_asset_id=std::collections::HashMap::::new(); let mut asset_id_from_texture_id=Vec::new(); let mut object_refs=Vec::new(); let mut temp_objects=Vec::new(); - let mut model_id_from_description=std::collections::HashMap::::new(); recursive_collect_superclass(&mut object_refs, &dom, dom.root(),"BasePart"); for object_ref in object_refs { if let Some(object)=dom.get_by_ref(object_ref){