Update UnrealLoader.cpp
parent
12b01dd575
commit
4cb76e6a18
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue