mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
comparison flaw in spotlight animation check. also, proper location of shadercache dir
This commit is contained in:
parent
1173c4f153
commit
61db21aaaf
|
|
@ -137,7 +137,7 @@ void SpotLight::_conformLights()
|
|||
Point3F objectScale(radius, mRange, radius);
|
||||
Point3F objectBoxMin(-1, 0, -1);
|
||||
|
||||
if (mAnimationData && mAnimationData->mRot.keyLen > 0)
|
||||
if (mAnimationData && mAnimationData->mRot.keyLen[0] > 0)
|
||||
{
|
||||
objectBoxMin.set(-1, -1, -1);
|
||||
objectScale.set(mRange, mRange, mRange);
|
||||
|
|
|
|||
Loading…
Reference in a new issue