Selaa lähdekoodia

Bugfix: Shadow bias field is now properly displayed in the Light inspector

BearishSun 8 vuotta sitten
vanhempi
sitoutus
1f432971fa
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      Source/MBansheeEditor/Inspectors/LightInspector.cs

+ 1 - 0
Source/MBansheeEditor/Inspectors/LightInspector.cs

@@ -95,6 +95,7 @@ namespace BansheeEditor
                 Layout.AddElement(spotFalloffAngleField);
                 Layout.AddElement(spotFalloffAngleField);
                 Layout.AddElement(autoAttenuationField);
                 Layout.AddElement(autoAttenuationField);
                 Layout.AddElement(castShadowField);
                 Layout.AddElement(castShadowField);
+                Layout.AddElement(shadowBiasField);
 
 
                 ToggleTypeSpecificFields(light.Type, light.UseAutoAttenuation, light.CastsShadow);
                 ToggleTypeSpecificFields(light.Type, light.UseAutoAttenuation, light.CastsShadow);
             }
             }