mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Re enable the skybox rendering in char select
This commit is contained in:
parent
4b651d535f
commit
fed5823a74
@ -353,10 +353,6 @@ impl Scene {
|
|||||||
body: Option<humanoid::Body>,
|
body: Option<humanoid::Body>,
|
||||||
inventory: Option<&Inventory>,
|
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 {
|
if let Some(body) = body {
|
||||||
let model = &self.figure_model_cache.get_model(
|
let model = &self.figure_model_cache.get_model(
|
||||||
&self.col_lights,
|
&self.col_lights,
|
||||||
@ -383,5 +379,7 @@ impl Scene {
|
|||||||
&self.col_lights.texture(model),
|
&self.col_lights.texture(model),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drawer.draw_skybox(&self.skybox.model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user