Various fixes

Separated baked cubemap load/processing logic into a separate function for clarity
various corrections for when fields change so it properly notifies down to the client
Fixed enable flag logic to actually work
Fixed skylight enable flag so it properly disables if flipped off
This commit is contained in:
Areloch 2019-06-05 00:07:46 -05:00
parent 6a654a9c35
commit f433cf4a0d
13 changed files with 223 additions and 226 deletions

View file

@ -415,6 +415,8 @@ void RenderProbeMgr::_setupStaticParameters()
mEffectiveProbeCount = 0;
mMipCount = 0;
mHasSkylight = false;
if (probePositionsData.size() != MAXPROBECOUNT)
{
probePositionsData.setSize(MAXPROBECOUNT);