save brushes settings

This commit is contained in:
2019-02-03 14:36:48 +01:00
parent d8728344c4
commit c2d526dec9
7 changed files with 207 additions and 68 deletions

View File

@@ -18,9 +18,9 @@ bool Asset::delete_file(const std::string& path)
return true;
}
bool Asset::exist(std::string path, bool is_asset)
bool Asset::exist(std::string path)
{
if (is_asset)
if (Asset::is_asset(path))
{
Asset asset;
if (asset.open(path.c_str()))