浏览代码

HDRP: Fix katana test

/main
sebastienlagarde 6 年前
当前提交
b90ec54f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Light/HDAdditionalLightData.cs

2
com.unity.render-pipelines.high-definition/HDRP/Lighting/Light/HDAdditionalLightData.cs


// However if the light is not enabled, the light is not upgraded.
// To solve this issue we add a callback below that will force OnEnable() to upgrade the light.
#if UNITY_EDITOR
EditorApplication.update += EditorOnEnableWorkaround;
//EditorApplication.update += EditorOnEnableWorkaround;
#endif
needsIntensityUpdate_1_0 = true;
}

正在加载...
取消
保存