glTF: Try to remove duplicate code.

This commit is contained in:
kimkulling
2019-09-11 17:00:39 +02:00
parent 28d0300dbe
commit 7ff7a5d64e
12 changed files with 479 additions and 547 deletions

View File

@@ -85,7 +85,7 @@ void BaseImporter::UpdateImporterScale( Importer* pImp )
double activeScale = importerScale * fileScale;
// Set active scaling
pImp->SetPropertyFloat( AI_CONFIG_APP_SCALE_KEY, activeScale);
pImp->SetPropertyFloat( AI_CONFIG_APP_SCALE_KEY, static_cast<float>( activeScale) );
ASSIMP_LOG_DEBUG_F("UpdateImporterScale scale set: %f", activeScale );
}