seems clearer this way
This commit is contained in:
@@ -581,12 +581,8 @@ void ScreenManager::RunConcurrentlyPrepareScreen()
|
|||||||
m_OnDonePreparingScreen = SM_None;
|
m_OnDonePreparingScreen = SM_None;
|
||||||
|
|
||||||
/* If the screen is already prepared, we're all set. */
|
/* If the screen is already prepared, we're all set. */
|
||||||
if( ScreenIsPrepped(sScreenName) )
|
if( !ScreenIsPrepped(sScreenName) )
|
||||||
{
|
{
|
||||||
SendMessageToTopScreen( SM );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
g_bIsConcurrentlyLoading = true;
|
g_bIsConcurrentlyLoading = true;
|
||||||
StartConcurrentRendering();
|
StartConcurrentRendering();
|
||||||
|
|
||||||
@@ -597,6 +593,7 @@ void ScreenManager::RunConcurrentlyPrepareScreen()
|
|||||||
g_bIsConcurrentlyLoading = false;
|
g_bIsConcurrentlyLoading = false;
|
||||||
|
|
||||||
LOG->Trace( "Concurrent prepare of %s finished", sScreenName.c_str() );
|
LOG->Trace( "Concurrent prepare of %s finished", sScreenName.c_str() );
|
||||||
|
}
|
||||||
|
|
||||||
/* We're done. Send the message. The screen is allowed to start
|
/* We're done. Send the message. The screen is allowed to start
|
||||||
* another concurrent prepare from this message. */
|
* another concurrent prepare from this message. */
|
||||||
|
|||||||
Reference in New Issue
Block a user