mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 14:07:56 +00:00
Added support for WResourceSelector to have multiple allowed file extensions (required for Prime 3)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
/*
|
||||
* This header file declares some classes used to track script object properties
|
||||
* CPropertyBase, __CProperty (and typedefs), CPropertyStruct
|
||||
* It's a bit hard to read, should be reorganized at some point
|
||||
*/
|
||||
#include "../CResource.h"
|
||||
#include "CScriptTemplate.h"
|
||||
@@ -91,6 +92,10 @@ public:
|
||||
mToken = CToken(v);
|
||||
}
|
||||
}
|
||||
const CStringList& AllowedExtensions()
|
||||
{
|
||||
return static_cast<CFileTemplate*>(Template())->Extensions();
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user