File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
com.unity.render-pipelines.core
com.unity.render-pipelines.high-definition/Editor/RenderPipeline Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ The version number for this package has increased due to a version update of a r
1919- Fixed the scene view to scale correctly when hardware dynamic resolution is enabled (case 1158661)
2020- Fixed game view artifacts on resizing when hardware dynamic resolution was enabled
2121
22+ ### Changed
23+ - LookDev menu item entry is now disabled if the current pipeline does not support it.
24+
2225## [ 10.0.0] - 2019-06-10
2326
2427### Added
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ static Context defaultContext
4646 internal static IViewDisplayer currentViewDisplayer => s_ViewDisplayer ;
4747 internal static IEnvironmentDisplayer currentEnvironmentDisplayer => s_EnvironmentDisplayer ;
4848
49+ [ MenuItem ( "Window/Render Pipeline/Look Dev" , false , 10200 ) ]
50+ static void OpenLookDev ( ) => Open ( ) ;
51+
52+ [ MenuItem ( "Window/Render Pipeline/Look Dev" , true , 10200 ) ]
53+ static bool LookDevAvailable ( ) => supported ;
54+
4955 /// <summary>State of the LookDev window</summary>
5056 public static bool open { get ; private set ; }
5157
Original file line number Diff line number Diff line change @@ -34,13 +34,4 @@ public override void OnInspectorGUI()
3434 serialized . Apply ( ) ;
3535 }
3636 }
37-
38- // Moving lookdev menu to package implementing them.
39- // It must be done in editor scripts.
40- // Remaining of LookDev integration is done in HDRenderPipeline.LookDev
41- static class LookDevMenu
42- {
43- [ MenuItem ( "Window/Render Pipeline/Look Dev" , false , 10200 ) ]
44- static void OpenLookDev ( ) => LookDev . LookDev . Open ( ) ;
45- }
4637}
You can’t perform that action at this time.
0 commit comments