denormalize zone data on load
This commit is contained in:
parent
a7c7088c1f
commit
d6470ee81b
@ -1065,6 +1065,9 @@ impl PhysicsContext{
|
|||||||
}
|
}
|
||||||
pub fn generate_models(&mut self,map:&map::CompleteMap){
|
pub fn generate_models(&mut self,map:&map::CompleteMap){
|
||||||
self.data.modes=map.modes.clone();
|
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 used_attributes=Vec::new();
|
||||||
let mut physics_attr_id_from_model_attr_id=HashMap::<CollisionAttributesId,PhysicsAttributesId>::new();
|
let mut physics_attr_id_from_model_attr_id=HashMap::<CollisionAttributesId,PhysicsAttributesId>::new();
|
||||||
let mut used_meshes=Vec::new();
|
let mut used_meshes=Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user