mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
use explicit conversion from size_t to int
This commit is contained in:
parent
4efd9b8453
commit
8a9e4029ae
1 changed files with 4 additions and 4 deletions
|
@ -434,7 +434,7 @@ void FBXBaker::rewriteAndBakeSceneModels() {
|
|||
|
||||
FBXNode dracoMeshNode;
|
||||
dracoMeshNode.name = "DracoMesh";
|
||||
auto value = QVariant::fromValue(QByteArray(buffer.data(), buffer.size()));
|
||||
auto value = QVariant::fromValue(QByteArray(buffer.data(), (int) buffer.size()));
|
||||
dracoMeshNode.properties.append(value);
|
||||
|
||||
|
||||
|
@ -653,13 +653,13 @@ void FBXBaker::handleBakedTexture() {
|
|||
} else {
|
||||
// there was an error baking this texture - add it to our list of errors
|
||||
_errorList.append(bakedTexture->getErrors());
|
||||
|
||||
|
||||
// we don't emit finished yet so that the other textures can finish baking first
|
||||
_pendingErrorEmission = true;
|
||||
|
||||
|
||||
// now that this texture has been baked, even though it failed, we can remove that TextureBaker from our list
|
||||
_bakingTextures.remove(bakedTexture->getTextureURL());
|
||||
|
||||
|
||||
checkIfTexturesFinished();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue