浏览代码

Minor correction

Popov72 5 年之前
父节点
当前提交
4d90dfc2cc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Lights/directionalLight.ts

+ 1 - 0
src/Lights/directionalLight.ts

@@ -67,6 +67,7 @@ export class DirectionalLight extends ShadowLight {
      * Automatically compute the shadowMinZ and shadowMaxZ for the projection matrix to best fit (including all the casters)
      * on each frame. autoUpdateExtends must be set to true for this to work
      */
+    @serialize()
     public autoCalcShadowZBounds = false;
 
     // Cache