浏览代码

Merge pull request #1156 from Azaezel/alpha41/canHasCapturz

fix singular pobe capture
Brian Roberts 1 年之前
父节点
当前提交
b56626e8ca
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Engine/source/T3D/lighting/reflectionProbe.cpp

+ 2 - 0
Engine/source/T3D/lighting/reflectionProbe.cpp

@@ -797,7 +797,9 @@ void ReflectionProbe::bake()
    if (mReflectionModeType != BakedCubemap)
       return;
 
+   PROBEMGR->preBake();
    PROBEMGR->bakeProbe(this);
+   PROBEMGR->postBake();
 
    setMaskBits(-1);
 }