mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 00:46:41 +02:00
Fix typo
This commit is contained in:
parent
86b6341098
commit
2c3dd153dd
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ void BakeAssetTask::run() {
|
|||
// Copy file to bake the temporary dir and give a name the oven can work with
|
||||
auto assetName = _assetPath.split("/").last();
|
||||
auto tempAssetPath = tempOutputDir + "/" + assetName;
|
||||
auto sucess = QFile::copy(_filePath, tempAssetPath);
|
||||
if (!sucess) {
|
||||
auto success = QFile::copy(_filePath, tempAssetPath);
|
||||
if (!success) {
|
||||
QString errors = "Couldn't copy file to bake to temporary directory";
|
||||
emit bakeFailed(_assetHash, _assetPath, errors);
|
||||
PathUtils::deleteMyTemporaryDir(tempOutputDirName);
|
||||
|
|
Loading…
Reference in a new issue