From 4941736cec0940c1bb52e47d32317560b20e9f35 Mon Sep 17 00:00:00 2001 From: Capucho Date: Mon, 7 Dec 2020 20:31:26 +0000 Subject: [PATCH] Re enable the skybox rendering in char select --- voxygen/src/scene/simple.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/voxygen/src/scene/simple.rs b/voxygen/src/scene/simple.rs index d8150bbe25..7859a64c8b 100644 --- a/voxygen/src/scene/simple.rs +++ b/voxygen/src/scene/simple.rs @@ -353,10 +353,6 @@ impl Scene { body: Option, 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); } }