Skip to content
Snippets Groups Projects

Fix that shadows can dynamically be en/disabled

Merged Julius Nehring-Wirxel requested to merge jn/develop into develop
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -62,7 +62,11 @@ void configure(Renderable&, no_grid_t b)
if (b.active)
detail::submit_command(detail::command::sceneNoGrid());
}
void configure(Renderable&, no_shadow_t) { detail::submit_command(detail::command::sceneNoShadow()); }
void configure(Renderable&, no_shadow_t s)
{
if (s.active)
detail::submit_command(detail::command::sceneNoShadow());
}
void configure(Renderable&, print_mode_t b)
{
if (b.active)
Loading