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();