mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Attempt to fix build errors
This commit is contained in:
parent
041db33578
commit
60ed9e12a4
1 changed files with 9 additions and 0 deletions
|
@ -27,6 +27,15 @@ std::function<QThread*()> MaterialBaker::_getNextOvenWorkerThreadOperator;
|
|||
|
||||
static int materialNum = 0;
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
struct hash<graphics::Material::MapChannel> {
|
||||
size_t operator()(const graphics::Material::MapChannel& a) const {
|
||||
return std::hash<size_t>()((size_t)a);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
MaterialBaker::MaterialBaker(const QString& materialData, bool isURL, const QString& bakedOutputDir, const QUrl& destinationPath) :
|
||||
_materialData(materialData),
|
||||
_isURL(isURL),
|
||||
|
|
Loading…
Reference in a new issue