From d6470ee81b5e7e53d9caa5fc3768241d72016660 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 1 Aug 2024 09:29:09 -0700 Subject: [PATCH] denormalize zone data on load --- src/physics.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/physics.rs b/src/physics.rs index 50d33618..b566a3a5 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1065,6 +1065,9 @@ impl PhysicsContext{ } pub fn generate_models(&mut self,map:&map::CompleteMap){ self.data.modes=map.modes.clone(); + for mode in &mut self.data.modes.modes{ + mode.denormalize_data(); + } let mut used_attributes=Vec::new(); let mut physics_attr_id_from_model_attr_id=HashMap::::new(); let mut used_meshes=Vec::new();