add iOS and macOS icons
This commit is contained in:
@@ -940,17 +940,13 @@ bool NodePanelBrushPreset::import_ppbr(const std::string& path)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool NodePanelBrushPreset::import_abr(const std::string& path_in)
|
||||
bool NodePanelBrushPreset::import_abr(const std::string& path)
|
||||
{
|
||||
BT_SetTerminate();
|
||||
|
||||
ABR abr;
|
||||
LOG("ABR detected");
|
||||
|
||||
std::string path = path_in;
|
||||
if (path_in.find(".abr") == std::string::npos)
|
||||
path += ".abr";
|
||||
|
||||
std::string name, base, ext;
|
||||
std::regex r(R"((.*)[\\/]([^\\/]+)\.(\w+)$)");
|
||||
std::smatch m;
|
||||
|
||||
Reference in New Issue
Block a user