mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Update Assimp from 5.2.3 to 5.2.5
This commit is contained in:
parent
ea7ca63301
commit
16f3710058
379 changed files with 14469 additions and 47175 deletions
|
|
@ -86,8 +86,7 @@ MS3DImporter::MS3DImporter()
|
|||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Destructor, private as well
|
||||
MS3DImporter::~MS3DImporter()
|
||||
{}
|
||||
MS3DImporter::~MS3DImporter() = default;
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Returns whether the class can handle the format of the given file.
|
||||
bool MS3DImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool /*checkSig*/) const
|
||||
|
|
@ -399,7 +398,7 @@ void MS3DImporter::InternReadFile( const std::string& pFile,
|
|||
// if one of the groups has no material assigned, but there are other
|
||||
// groups with materials, a default material needs to be added (
|
||||
// scenepreprocessor adds a default material only if nummat==0).
|
||||
materials.push_back(TempMaterial());
|
||||
materials.emplace_back();
|
||||
TempMaterial& m = materials.back();
|
||||
|
||||
strcpy(m.name,"<MS3D_DefaultMat>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue