|
@@ -1851,6 +1851,8 @@ bool CarlaEngineNativeUI::msgReceived(const char* const msg) noexcept |
|
|
try { |
|
|
try { |
|
|
ok = fEngine->loadFile(filename); |
|
|
ok = fEngine->loadFile(filename); |
|
|
} CARLA_SAFE_EXCEPTION("loadFile"); |
|
|
} CARLA_SAFE_EXCEPTION("loadFile"); |
|
|
|
|
|
|
|
|
|
|
|
fEngine->reloadFromUI(); |
|
|
} |
|
|
} |
|
|
else if (std::strcmp(msg, "load_project") == 0) |
|
|
else if (std::strcmp(msg, "load_project") == 0) |
|
|
{ |
|
|
{ |
|
@@ -1861,6 +1863,8 @@ bool CarlaEngineNativeUI::msgReceived(const char* const msg) noexcept |
|
|
try { |
|
|
try { |
|
|
ok = fEngine->loadProject(filename, true); |
|
|
ok = fEngine->loadProject(filename, true); |
|
|
} CARLA_SAFE_EXCEPTION("loadProject"); |
|
|
} CARLA_SAFE_EXCEPTION("loadProject"); |
|
|
|
|
|
|
|
|
|
|
|
fEngine->reloadFromUI(); |
|
|
} |
|
|
} |
|
|
else if (std::strcmp(msg, "save_project") == 0) |
|
|
else if (std::strcmp(msg, "save_project") == 0) |
|
|
{ |
|
|
{ |
|
@@ -2023,6 +2027,7 @@ bool CarlaEngineNativeUI::msgReceived(const char* const msg) noexcept |
|
|
CARLA_SAFE_ASSERT_RETURN(readNextLineAsUInt(pluginId), true); |
|
|
CARLA_SAFE_ASSERT_RETURN(readNextLineAsUInt(pluginId), true); |
|
|
|
|
|
|
|
|
ok = fEngine->clonePlugin(pluginId); |
|
|
ok = fEngine->clonePlugin(pluginId); |
|
|
|
|
|
fEngine->reloadFromUI(); |
|
|
} |
|
|
} |
|
|
else if (std::strcmp(msg, "replace_plugin") == 0) |
|
|
else if (std::strcmp(msg, "replace_plugin") == 0) |
|
|
{ |
|
|
{ |
|
|