浏览代码

Fixed Lighting Debug panel (issue caused by split of core/hdrp in different assemblies)

/feature-ReflectionProbeFit
Julien Ignace 7 年前
当前提交
ff4605c7
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 2
      ScriptableRenderPipeline/Core/Debugging/DebugMenuManager.cs
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/Debug/LightingDebugPanel.cs

2
ScriptableRenderPipeline/Core/Debugging/DebugMenuManager.cs


void LookUpDebugPanelClasses()
{
// Prepare all debug menus
var types = Assembly.GetAssembly(typeof(DebugPanel)).GetTypes()
var types = CoreUtils.GetAllAssemblyTypes()
.Where(t => t.IsSubclassOf(typeof(DebugPanel)));
m_DebugPanels.Clear();

2
ScriptableRenderPipeline/HDRenderPipeline/Debug/LightingDebugPanel.cs


{
using (new UnityEditor.EditorGUILayout.VerticalScope())
{
m_DebugPanel.GetDebugItem(DebugDisplaySettings.kEnableShadowDebug).handler.OnEditorGUI();
DebugItem shadowDebug = m_DebugPanel.GetDebugItem(DebugDisplaySettings.kShadowDebugMode);
shadowDebug.handler.OnEditorGUI();
if ((ShadowMapDebugMode)shadowDebug.GetValue() == ShadowMapDebugMode.VisualizeShadowMap)

正在加载...
取消
保存