Don't send effEditIdle on CLI rendering (#6440)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user