mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 20:16:14 +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;
|
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) :
|
MaterialBaker::MaterialBaker(const QString& materialData, bool isURL, const QString& bakedOutputDir, const QUrl& destinationPath) :
|
||||||
_materialData(materialData),
|
_materialData(materialData),
|
||||||
_isURL(isURL),
|
_isURL(isURL),
|
||||||
|
|
Loading…
Reference in a new issue