mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +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() {
|
||||
// once our texture is loaded, kick off a the processing
|
||||
connect(this, &TextureBaker::originalTextureLoaded, this, &TextureBaker::processTexture);
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
TextureBaker(const QUrl& textureURL, image::TextureUsage::Type textureType,
|
||||
const QDir& outputDirectory, const QString& bakedFilename = QString(),
|
||||
const QByteArray& textureContent = QByteArray());
|
||||
~TextureBaker() override;
|
||||
|
||||
const QByteArray& getOriginalTexture() const { return _originalTexture; }
|
||||
|
||||
|
@ -62,8 +61,6 @@ private:
|
|||
QDir _outputDirectory;
|
||||
QString _bakedTextureFileName;
|
||||
|
||||
std::vector<QString> _temporaryFilesCreated;
|
||||
|
||||
std::atomic<bool> _abortProcessing { false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue