mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Remove unused _temporaryFilesCreated from TextureBaker
This commit is contained in:
parent
e38ef699cc
commit
99c3e6cf78
2 changed files with 0 additions and 10 deletions
|
@ -41,13 +41,6 @@ TextureBaker::TextureBaker(const QUrl& textureURL, image::TextureUsage::Type tex
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextureBaker::~TextureBaker() {
|
|
||||||
for (auto filepath : _temporaryFilesCreated) {
|
|
||||||
QFile f{filepath};
|
|
||||||
f.remove();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void TextureBaker::bake() {
|
void TextureBaker::bake() {
|
||||||
// once our texture is loaded, kick off a the processing
|
// once our texture is loaded, kick off a the processing
|
||||||
connect(this, &TextureBaker::originalTextureLoaded, this, &TextureBaker::processTexture);
|
connect(this, &TextureBaker::originalTextureLoaded, this, &TextureBaker::processTexture);
|
||||||
|
|
|
@ -30,7 +30,6 @@ public:
|
||||||
TextureBaker(const QUrl& textureURL, image::TextureUsage::Type textureType,
|
TextureBaker(const QUrl& textureURL, image::TextureUsage::Type textureType,
|
||||||
const QDir& outputDirectory, const QString& bakedFilename = QString(),
|
const QDir& outputDirectory, const QString& bakedFilename = QString(),
|
||||||
const QByteArray& textureContent = QByteArray());
|
const QByteArray& textureContent = QByteArray());
|
||||||
~TextureBaker() override;
|
|
||||||
|
|
||||||
const QByteArray& getOriginalTexture() const { return _originalTexture; }
|
const QByteArray& getOriginalTexture() const { return _originalTexture; }
|
||||||
|
|
||||||
|
@ -62,8 +61,6 @@ private:
|
||||||
QDir _outputDirectory;
|
QDir _outputDirectory;
|
||||||
QString _bakedTextureFileName;
|
QString _bakedTextureFileName;
|
||||||
|
|
||||||
std::vector<QString> _temporaryFilesCreated;
|
|
||||||
|
|
||||||
std::atomic<bool> _abortProcessing { false };
|
std::atomic<bool> _abortProcessing { false };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue