Skip to content
Snippets Groups Projects
Commit b113a201 authored by Vitaly Sverchinsky's avatar Vitaly Sverchinsky
Browse files

Don't create cloud-related images when running in host mode

Attempt to do so raises an assertion failure
parent 5379ade4
Branches
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
**********************************************************************/
#include "ModuleConstants.h"
#include "PluginHost.h"
#include "ui/images/CloudImages.hpp"
......@@ -18,6 +19,7 @@ extern "C" DLL_API int ModuleDispatch(ModuleDispatchTypes type)
{
static auto cloudImages = []
{
if(!PluginHost::IsHostProcess())
bin2c_init_CLOUDIMAGES_HPP();
return true;
}();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment