Don't send effEditIdle on CLI rendering (#6440)

This commit is contained in:
Hyunjin Song
2022-06-22 10:06:34 +09:00
committed by GitHub
parent 5904b249c0
commit c2fa2375dc

View File

@@ -2165,7 +2165,10 @@ void RemoteVstPlugin::idle()
return;
}
setProcessing( true );
pluginDispatch( effEditIdle );
if (!HEADLESS && m_window)
{
pluginDispatch( effEditIdle );
}
setShouldGiveIdle( false );
setProcessing( false );
// We might have received a message whilst idling
@@ -2213,7 +2216,10 @@ void RemoteVstPlugin::processUIThreadMessages()
#endif
if( shouldGiveIdle() )
{
pluginDispatch( effEditIdle );
if (!HEADLESS && m_window)
{
pluginDispatch( effEditIdle );
}
setShouldGiveIdle( false );
}
#ifdef NATIVE_LINUX_VST