diff options
Diffstat (limited to '')
-rw-r--r-- | lyt/materials/texcoordgen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lyt/materials/texcoordgen.cpp b/lyt/materials/texcoordgen.cpp index 3d2ac75..91bdad9 100644 --- a/lyt/materials/texcoordgen.cpp +++ b/lyt/materials/texcoordgen.cpp @@ -21,17 +21,17 @@ LYTTexCoordGen::LYTTexCoordGen() { } -void LYTTexCoordGen::dumpToDebug() { +void LYTTexCoordGen::dumpToDebug() const { qDebug() << "LYTTexCoordGen @" << (void*)this; qDebug() << "GenType:" << genType << "- Mtx:" << mtx << "- Src:" << src; } -void LYTTexCoordGen::writeToDataStream(QDataStream &out) { +void LYTTexCoordGen::writeToDataStream(QDataStream &out) const { out << (quint8)genType; out << (quint8)src; out << (quint8)mtx; - out.skipRawData(1); // padding + WritePadding(1, out); } |