Re enable the skybox rendering in char select

This commit is contained in:
Capucho 2020-12-07 20:31:26 +00:00 committed by Imbris
parent 4b651d535f
commit fed5823a74

View File

@ -353,10 +353,6 @@ impl Scene {
body: Option<humanoid::Body>,
inventory: Option<&Inventory>,
) {
// TODO: can probably be drawn last but it crashes when drawn first and we
// should figure that out
// drawer.draw_skybox(&self.skybox.model);
if let Some(body) = body {
let model = &self.figure_model_cache.get_model(
&self.col_lights,
@ -383,5 +379,7 @@ impl Scene {
&self.col_lights.texture(model),
);
}
drawer.draw_skybox(&self.skybox.model);
}
}