From e35397943552d92c6506d0549dfc4621fbc21f0b Mon Sep 17 00:00:00 2001 From: martint-unity Date: Tue, 26 Oct 2021 13:22:08 +0200 Subject: [PATCH] fix indentation for mask property --- .../Editor/ShaderGUI/ShadingModels/LitGUI.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/com.unity.render-pipelines.universal/Editor/ShaderGUI/ShadingModels/LitGUI.cs b/com.unity.render-pipelines.universal/Editor/ShaderGUI/ShadingModels/LitGUI.cs index 60a2f3b861d..f94d75241de 100644 --- a/com.unity.render-pipelines.universal/Editor/ShaderGUI/ShadingModels/LitGUI.cs +++ b/com.unity.render-pipelines.universal/Editor/ShaderGUI/ShadingModels/LitGUI.cs @@ -173,9 +173,8 @@ public static void DoClearCoat(LitProperties properties, MaterialEditor material EditorGUI.BeginDisabledGroup(!coatEnabled); { - materialEditor.TexturePropertySingleLine(Styles.clearCoatMaskText, properties.clearCoatMap, properties.clearCoatMask); - EditorGUI.indentLevel += 2; + materialEditor.TexturePropertySingleLine(Styles.clearCoatMaskText, properties.clearCoatMap, properties.clearCoatMask); // Texture and HDR color controls materialEditor.ShaderProperty(properties.clearCoatSmoothness, Styles.clearCoatSmoothnessText);