From 9df8e453438ebbcdd0ee121b72fea51ac6bcb225 Mon Sep 17 00:00:00 2001 From: Tom Goddard Date: Thu, 19 Sep 2024 15:38:39 -0700 Subject: [PATCH] Removed some redundant code from lighting simple command that set shadows and multishadows parameters to the same value twice. --- src/bundles/std_commands/src/lighting.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bundles/std_commands/src/lighting.py b/src/bundles/std_commands/src/lighting.py index 5194eb62ad..cc8cfd9716 100644 --- a/src/bundles/std_commands/src/lighting.py +++ b/src/bundles/std_commands/src/lighting.py @@ -131,10 +131,8 @@ def lighting(session, preset = None, direction = None, intensity = None, color = ms_directions = lighting_settings(session).lighting_multishadow_directions sil = v.silhouette if preset == 'default' or preset == 'simple': - lp.shadows = False - lp.multishadow = 0 - sil.depth_jump = 0.03 lp.set_default_parameters(v.background_color) + sil.depth_jump = 0.03 elif preset == 'full': lp.shadows = True lp.multishadow = ms_directions