mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 15:30:11 +02:00
Fix for -Wreorder warning
This commit is contained in:
parent
1092c09e8b
commit
d8b0a6360e
2 changed files with 3 additions and 3 deletions
|
@ -226,7 +226,7 @@ bool ModelBaker::compressMesh(FBXMesh& mesh, bool hasDeformers,FBXNode& dracoMes
|
|||
QByteArray* ModelBaker::compressTexture(QString modelTextureFileName, getTextureTypeCallback textureTypeCallback) {
|
||||
static QByteArray textureChild;
|
||||
QByteArray textureContent = "";
|
||||
image::TextureUsage::Type textureType;
|
||||
image::TextureUsage::Type textureType = image::TextureUsage::Type::DEFAULT_TEXTURE;
|
||||
|
||||
if (textureTypeCallback) {
|
||||
textureType = textureTypeCallback();
|
||||
|
|
|
@ -44,10 +44,10 @@ protected:
|
|||
void checkIfTexturesFinished();
|
||||
|
||||
QHash<QByteArray, QByteArray> textureContentMap;
|
||||
QUrl modelURL;
|
||||
TextureBakerThreadGetter textureThreadGetter;
|
||||
QString bakedOutputDir;
|
||||
QString originalOutputDir;
|
||||
TextureBakerThreadGetter textureThreadGetter;
|
||||
QUrl modelURL;
|
||||
QString bakedModelFilePath;
|
||||
QDir modelTempDir;
|
||||
QString originalModelFilePath;
|
||||
|
|
Loading…
Reference in a new issue