mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
comparison flaw in spotlight animation check. also, proper location of shadercache dir
This commit is contained in:
parent
1173c4f153
commit
61db21aaaf
2 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ void SpotLight::_conformLights()
|
||||||
Point3F objectScale(radius, mRange, radius);
|
Point3F objectScale(radius, mRange, radius);
|
||||||
Point3F objectBoxMin(-1, 0, -1);
|
Point3F objectBoxMin(-1, 0, -1);
|
||||||
|
|
||||||
if (mAnimationData && mAnimationData->mRot.keyLen > 0)
|
if (mAnimationData && mAnimationData->mRot.keyLen[0] > 0)
|
||||||
{
|
{
|
||||||
objectBoxMin.set(-1, -1, -1);
|
objectBoxMin.set(-1, -1, -1);
|
||||||
objectScale.set(mRange, mRange, mRange);
|
objectScale.set(mRange, mRange, mRange);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue