1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 20:15:34 +00:00

SceneWidget::setLighting was missing an update call

This commit is contained in:
Marc Zinnschlag 2014-07-10 10:09:21 +02:00
parent 03f67cd6bd
commit 930f782bc5

View file

@ -347,6 +347,9 @@ namespace CSVRender
mLighting = lighting; mLighting = lighting;
mLighting->activate (mSceneMgr, mHasDefaultAmbient ? &mDefaultAmbient : 0); mLighting->activate (mSceneMgr, mHasDefaultAmbient ? &mDefaultAmbient : 0);
if (mWindow)
mWindow->update();
} }
void SceneWidget::selectLightingMode (const std::string& mode) void SceneWidget::selectLightingMode (const std::string& mode)