Fix prefab error log typo
This commit is contained in:
parent
ce4d8bfc54
commit
981888799c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ void Prefab::loadPrefabs() {
|
||||||
if (!QFile::exists(filepath) || !parser.tryParseJsonFile(&prefabDoc, filepath)) {
|
if (!QFile::exists(filepath) || !parser.tryParseJsonFile(&prefabDoc, filepath)) {
|
||||||
QString relativePath = QDir::cleanPath(projectConfig.getProjectDir() + QDir::separator() + filepath);
|
QString relativePath = QDir::cleanPath(projectConfig.getProjectDir() + QDir::separator() + filepath);
|
||||||
if (!parser.tryParseJsonFile(&prefabDoc, relativePath)) {
|
if (!parser.tryParseJsonFile(&prefabDoc, relativePath)) {
|
||||||
logError(QString("Failed to prefab data from %1").arg(filepath));
|
logError(QString("Failed to read prefab data from %1").arg(filepath));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue