Signed-off-by: falkTX <falktx@falktx.com>pull/1780/head
| @@ -377,7 +377,7 @@ public: | |||||
| return; | return; | ||||
| } | } | ||||
| const bool wasFirstIdle(fFirstIdle); | |||||
| const bool wasFirstIdle = fFirstIdle; | |||||
| if (wasFirstIdle) | if (wasFirstIdle) | ||||
| { | { | ||||
| @@ -1267,6 +1267,10 @@ public: | |||||
| signalThreadShouldExit(); | signalThreadShouldExit(); | ||||
| callback(true, true, ENGINE_CALLBACK_QUIT, 0, 0, 0, 0, 0.0f, nullptr); | callback(true, true, ENGINE_CALLBACK_QUIT, 0, 0, 0, 0, 0.0f, nullptr); | ||||
| break; | break; | ||||
| case kPluginBridgeNonRtClientReload: | |||||
| fFirstIdle = true; | |||||
| break; | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -89,6 +89,8 @@ enum PluginBridgeNonRtClientOpcode { | |||||
| kPluginBridgeNonRtClientSetWindowTitle, // uint/size, str[] | kPluginBridgeNonRtClientSetWindowTitle, // uint/size, str[] | ||||
| // stuff added in API 9 | // stuff added in API 9 | ||||
| kPluginBridgeNonRtClientEmbedUI, // ulong | kPluginBridgeNonRtClientEmbedUI, // ulong | ||||
| // stuff added in API 10 | |||||
| kPluginBridgeNonRtClientReload, | |||||
| }; | }; | ||||
| // Client sends these to server during non-RT | // Client sends these to server during non-RT | ||||
| @@ -129,6 +129,8 @@ const char* PluginBridgeNonRtClientOpcode2str(const PluginBridgeNonRtClientOpcod | |||||
| return "kPluginBridgeNonRtClientSetWindowTitle"; | return "kPluginBridgeNonRtClientSetWindowTitle"; | ||||
| case kPluginBridgeNonRtClientEmbedUI: | case kPluginBridgeNonRtClientEmbedUI: | ||||
| return "kPluginBridgeNonRtClientEmbedUI"; | return "kPluginBridgeNonRtClientEmbedUI"; | ||||
| case kPluginBridgeNonRtClientReload: | |||||
| return "kPluginBridgeNonRtClientReload"; | |||||
| } | } | ||||
| carla_stderr("CarlaBackend::PluginBridgeNonRtClientOpcode2str(%i) - invalid opcode", opcode); | carla_stderr("CarlaBackend::PluginBridgeNonRtClientOpcode2str(%i) - invalid opcode", opcode); | ||||