Merge remote branch 'scrawl/crashfix'

actorid
Marc Zinnschlag 13 years ago
commit 26371a82a5

@ -746,6 +746,7 @@ void SkyManager::setGlare(const float glare)
Vector3 SkyManager::getRealSunPos() Vector3 SkyManager::getRealSunPos()
{ {
if (!mCreated) return Vector3(0,0,0);
return mSun->getNode()->_getDerivedPosition(); return mSun->getNode()->_getDerivedPosition();
} }

Loading…
Cancel
Save