mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +02:00
Fix missing return on handling TextureBaker error
This commit is contained in:
parent
a9d8f105ae
commit
0a97f2535b
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ void TextureBaker::processTexture() {
|
|||
QFile file { _metaTextureFileName };
|
||||
if (!file.open(QIODevice::WriteOnly) || file.write(data) == -1) {
|
||||
handleError("Could not write meta texture for " + _textureURL.toString());
|
||||
return;
|
||||
} else {
|
||||
_outputFiles.push_back(_metaTextureFileName);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue