mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
init reflection probes
This commit is contained in:
parent
b73353a446
commit
33e78fd8a8
|
|
@ -111,6 +111,7 @@ ReflectionProbe::ReflectionProbe()
|
|||
|
||||
mUseHDRCaptures = true;
|
||||
|
||||
mCubemapName = StringTable->EmptyString();
|
||||
mStaticCubemap = NULL;
|
||||
mProbeUniqueID = "";
|
||||
|
||||
|
|
@ -259,7 +260,7 @@ bool ReflectionProbe::_setReflectionMode(void *object, const char *index, const
|
|||
{
|
||||
//Clear our cubemap if we changed it to be baked, just for cleanliness
|
||||
probe->mReflectionModeType = BakedCubemap;
|
||||
probe->mCubemapName = "";
|
||||
probe->mCubemapName = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
probe->setMaskBits(StaticDataMask);
|
||||
|
|
|
|||
Loading…
Reference in a new issue