Fix Qt metatypes breaking by moving them back out of the hfm namespace

This commit is contained in:
sabrina-shanman 2018-11-05 13:40:38 -08:00
parent a98a9b1c0c
commit c85b809e04

View file

@ -258,9 +258,6 @@ public:
QVector<glm::vec3> translations;
};
Q_DECLARE_METATYPE(AnimationFrame)
Q_DECLARE_METATYPE(QVector<AnimationFrame>)
/// A light.
class Light {
public:
@ -342,9 +339,6 @@ public:
QList<QString> blendshapeChannelNames;
};
Q_DECLARE_METATYPE(Model)
Q_DECLARE_METATYPE(Model::Pointer)
};
class ExtractedMesh {
@ -356,4 +350,10 @@ public:
QHash<QString, size_t> texcoordSetMap;
};
Q_DECLARE_METATYPE(HFMAnimationFrame)
Q_DECLARE_METATYPE(QVector<HFMAnimationFrame>)
Q_DECLARE_METATYPE(HFMModel)
Q_DECLARE_METATYPE(HFMModel::Pointer)
#endif // hifi_HFM_h_