mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 15:30:54 +02:00
place the baked textures beside the baked FBX
This commit is contained in:
parent
4e0aba10bc
commit
074fb08313
1 changed files with 1 additions and 2 deletions
|
@ -187,7 +187,6 @@ bool FBXBaker::importScene() {
|
|||
return true;
|
||||
}
|
||||
|
||||
static const QString BAKED_TEXTURE_DIRECTORY = "textures/";
|
||||
static const QString BAKED_TEXTURE_EXT = ".ktx";
|
||||
|
||||
QString texturePathRelativeToFBX(QUrl fbxURL, QUrl textureURL) {
|
||||
|
@ -364,7 +363,7 @@ bool FBXBaker::rewriteAndBakeSceneTextures() {
|
|||
// even if there was another texture with the same name at a different path
|
||||
auto bakedTextureFileName = createBakedTextureFileName(textureFileInfo);
|
||||
QString bakedTextureFilePath {
|
||||
_uniqueOutputPath + BAKED_OUTPUT_SUBFOLDER + BAKED_TEXTURE_DIRECTORY + bakedTextureFileName
|
||||
_uniqueOutputPath + BAKED_OUTPUT_SUBFOLDER + bakedTextureFileName
|
||||
};
|
||||
|
||||
qCDebug(model_baking).noquote() << "Re-mapping" << fileTexture->GetFileName() << "to" << bakedTextureFilePath;
|
||||
|
|
Loading…
Reference in a new issue