diff --git a/apps/openmw/mwrender/globalmap.cpp b/apps/openmw/mwrender/globalmap.cpp index 2536818ef..24f6de6ce 100644 --- a/apps/openmw/mwrender/globalmap.cpp +++ b/apps/openmw/mwrender/globalmap.cpp @@ -238,6 +238,9 @@ namespace MWRender removeCamera(*it); for (CameraVector::iterator it = mActiveCameras.begin(); it != mActiveCameras.end(); ++it) removeCamera(*it); + + if (mWorkItem) + mWorkItem->waitTillDone(); } void GlobalMap::render ()