mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 20:10:32 +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
|
|
@ -174,9 +174,7 @@ UnrealImporter::UnrealImporter() :
|
|||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Destructor, private as well
|
||||
UnrealImporter::~UnrealImporter() {
|
||||
// empty
|
||||
}
|
||||
UnrealImporter::~UnrealImporter() = default;
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Returns whether the class can handle the format of the given file.
|
||||
|
|
@ -335,7 +333,7 @@ void UnrealImporter::InternReadFile(const std::string &pFile,
|
|||
SkipSpacesAndLineEnd(&data);
|
||||
|
||||
if (TokenMatchI(data, "IMPORT", 6)) {
|
||||
tempTextures.push_back(std::pair<std::string, std::string>());
|
||||
tempTextures.emplace_back();
|
||||
std::pair<std::string, std::string> &me = tempTextures.back();
|
||||
for (; !IsLineEnd(*data); ++data) {
|
||||
if (!::ASSIMP_strincmp(data, "NAME=", 5)) {
|
||||
|
|
@ -361,7 +359,7 @@ void UnrealImporter::InternReadFile(const std::string &pFile,
|
|||
|
||||
if (TokenMatchI(data, "SETTEXTURE", 10)) {
|
||||
|
||||
textures.push_back(std::pair<unsigned int, std::string>());
|
||||
textures.emplace_back();
|
||||
std::pair<unsigned int, std::string> &me = textures.back();
|
||||
|
||||
for (; !IsLineEnd(*data); ++data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue