mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Merge pull request #1156 from Azaezel/alpha41/canHasCapturz
fix singular pobe capture
This commit is contained in:
commit
b56626e8ca
1 changed files with 2 additions and 0 deletions
|
|
@ -797,7 +797,9 @@ void ReflectionProbe::bake()
|
||||||
if (mReflectionModeType != BakedCubemap)
|
if (mReflectionModeType != BakedCubemap)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
PROBEMGR->preBake();
|
||||||
PROBEMGR->bakeProbe(this);
|
PROBEMGR->bakeProbe(this);
|
||||||
|
PROBEMGR->postBake();
|
||||||
|
|
||||||
setMaskBits(-1);
|
setMaskBits(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue