diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 96198ef4b86..db96f550e21 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -230,6 +230,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed contact shadow debug views not displaying correctly upon resizing of view. - Fixed an error when deleting the 3D Texture mask of a local volumetric fog volume (case 1339330). - Fixed reflection probes being injected into the ray tracing light cluster even if not baked (case 1329083). +- Fixed the double sided option moving when toggling it in the material UI (case 1328877). ### Changed - Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard diff --git a/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/SurfaceOptionUIBlock.cs b/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/SurfaceOptionUIBlock.cs index d0ee935e958..189fc4d7c1d 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/SurfaceOptionUIBlock.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/SurfaceOptionUIBlock.cs @@ -623,6 +623,12 @@ protected void DrawSurfaceGUI() EditorGUI.indentLevel++; if (doubleSidedEnable != null && doubleSidedEnable.floatValue == 0 && opaqueCullMode != null) materialEditor.ShaderProperty(opaqueCullMode, Styles.opaqueCullModeText); + else + { + EditorGUI.BeginDisabledGroup(true); + EditorGUILayout.Popup(Styles.opaqueCullModeText, 0, new string[] { "Off" }); + EditorGUI.EndDisabledGroup(); + } EditorGUI.indentLevel--; if (HDRenderQueue.k_RenderQueue_AfterPostProcessOpaque.Contains(renderQueue)) {