Pārlūkot izejas kodu

Merge pull request #1156 from Azaezel/alpha41/canHasCapturz

fix singular pobe capture
Brian Roberts 1 gadu atpakaļ
vecāks
revīzija
b56626e8ca
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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);
 }