From 62cb475f2d7567335d67191d97a2a8d42622406f 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 0e60896a5a..2d88bc96b8 100644 --- a/voxygen/src/scene/simple.rs +++ b/voxygen/src/scene/simple.rs @@ -346,10 +346,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, @@ -376,5 +372,7 @@ impl Scene { &self.col_lights.texture(model), ); } + + drawer.draw_skybox(&self.skybox.model); } }