mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Adds a default value to the lodType of the asset importer to prevent utilizing an un initialized value
This commit is contained in:
parent
bcbc08cf23
commit
fc225a7f0b
1 changed files with 1 additions and 1 deletions
|
|
@ -2550,7 +2550,7 @@ Torque::Path AssetImporter::importShapeAsset(AssetImportObject* assetItem)
|
|||
Milliseconds = 1000
|
||||
};
|
||||
|
||||
S32 lodType;
|
||||
S32 lodType = ColladaUtils::ImportOptions::eLodType::TrailingNumber;
|
||||
if (activeImportConfig.LODType.compare("TrailingNumber") == 0)
|
||||
lodType = ColladaUtils::ImportOptions::eLodType::TrailingNumber;
|
||||
else if (activeImportConfig.LODType.compare("SingleSize") == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue