File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
com.unity.render-pipelines.high-definition Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1919- Fixed error about layers when disabling emissive mesh for area lights.
2020- Fixed issue with sun icon being clipped in the look dev window.
2121- Fixed lookdev toggling renderers that are set to non editable or are hidden in the inspector.
22+ - Fixed issue causing the editor field not updating the disc area light radius.
2223
2324### Changed
2425- Remove MSAA debug mode when renderpipeline asset has no MSAA
Original file line number Diff line number Diff line change @@ -2684,7 +2684,9 @@ void UpdateShapeSize()
26842684 shapeHeight = m_ShapeHeight ;
26852685
26862686#if UNITY_EDITOR
2687- legacyLight . areaSize = new Vector2 ( shapeWidth , shapeHeight ) ;
2687+ // We don't want to update the disc area since their shape is largely handled by builtin.
2688+ if ( GetLightTypeAndShape ( ) != HDLightTypeAndShape . DiscArea )
2689+ legacyLight . areaSize = new Vector2 ( shapeWidth , shapeHeight ) ;
26882690#endif
26892691 }
26902692
You can’t perform that action at this time.
0 commit comments