Materials: Fix MaterialManager being copied on getInstance()
This commit is contained in:
committed by
Benjamin Nauck
parent
038cc5dc8c
commit
c77a6e57ae
@@ -196,7 +196,7 @@ void MaterialLibraryLocal::deleteRecursive(const QString& path)
|
||||
}
|
||||
|
||||
QString filePath = getLocalPath(path);
|
||||
auto manager = MaterialManager::getManager();
|
||||
auto& manager = MaterialManager::getManager();
|
||||
|
||||
QFileInfo info(filePath);
|
||||
if (info.isDir()) {
|
||||
|
||||
Reference in New Issue
Block a user