Check for selfinclusion of assets (closes #1032)

Make sure that OpenSpace doesn't crash when bailing out early
This commit is contained in:
Alexander Bock
2020-02-11 14:09:14 +01:00
parent 9a714524ce
commit 126f2ac4cf
4 changed files with 36 additions and 16 deletions
-2
View File
@@ -61,8 +61,6 @@ public:
*/
Asset(AssetLoader* loader, SynchronizationWatcher* watcher, std::string assetPath);
~Asset() = default;
std::string id() const;
const std::string& assetFilePath() const;
bool hasAssetFile() const;