mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Corrected Ubuntu Errors
Corrected: -endif -extra qualification -invalid initialization of non-const reference
This commit is contained in:
parent
d7c525cf3a
commit
e1ac16498e
2 changed files with 5 additions and 4 deletions
|
@ -304,8 +304,9 @@ bool GLTFReader::addImage(const QJsonObject& object) {
|
|||
|
||||
bool GLTFReader::getIndexFromObject(const QJsonObject& object, const QString& field, int& outidx, QMap<QString, bool>& defined) {
|
||||
QJsonObject subobject;
|
||||
QMap<QString, bool> tmpdefined;
|
||||
if (getObjectVal(object, field, subobject, defined)) {
|
||||
return getIntVal(subobject, "index", outidx, QMap<QString, bool>());
|
||||
return getIntVal(subobject, "index", outidx, tmpdefined);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -563,8 +563,8 @@ private:
|
|||
void retriangulate(const QVector<int>& in_indices, const QVector<glm::vec3>& in_vertices, const QVector<glm::vec3>& in_normals,
|
||||
QVector<int>& out_indices, QVector<glm::vec3>& out_vertices, QVector<glm::vec3>& out_normals);
|
||||
|
||||
std::tuple<bool, QByteArray> GLTFReader::requestData(QUrl& url);
|
||||
QNetworkReply* GLTFReader::request(QUrl& url, bool isTest);
|
||||
std::tuple<bool, QByteArray> requestData(QUrl& url);
|
||||
QNetworkReply* request(QUrl& url, bool isTest);
|
||||
bool doesResourceExist(const QString& url);
|
||||
|
||||
|
||||
|
@ -579,4 +579,4 @@ private:
|
|||
|
||||
|
||||
|
||||
#endif hifi_GLTFReader_h
|
||||
#endif //hifi_GLTFReader_h
|
Loading…
Reference in a new issue