Update UnrealLoader.cpp

pull/4342/head
Kim Kulling 2022-01-18 22:29:55 +01:00 committed by GitHub
parent 12b01dd575
commit 4cb76e6a18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ namespace Unreal {
3 = Masked two-sided 3 = Masked two-sided
4 = Modulation blended two-sided 4 = Modulation blended two-sided
8 = Placeholder triangle for weapon positioning (invisible) 8 = Placeholder triangle for weapon positioning (invisible)
*/ */
enum MeshFlags { enum MeshFlags {
MF_NORMAL_OS = 0, MF_NORMAL_OS = 0,
MF_NORMAL_TS = 1, MF_NORMAL_TS = 1,
@ -180,8 +180,8 @@ UnrealImporter::~UnrealImporter() {
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
// Returns whether the class can handle the format of the given file. // Returns whether the class can handle the format of the given file.
bool UnrealImporter::CanRead(const std::string & /*pFile*/, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const { bool UnrealImporter::CanRead(const std::string & filename, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const {
return SimpleExtensionCheck(pFile, "3d", "uc"); return SimpleExtensionCheck(filename, "3d", "uc");
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------