src/linetypes/subfilereference.cpp

changeset 134
f77d2230e87c
parent 132
488d0ba6070b
child 139
72098474d362
--- a/src/linetypes/subfilereference.cpp	Tue Sep 21 16:00:15 2021 +0300
+++ b/src/linetypes/subfilereference.cpp	Wed Sep 22 00:25:13 2021 +0300
@@ -95,10 +95,10 @@
 
 QDataStream& ldraw::SubfileReference::serialize(QDataStream &stream) const
 {
-	return stream << this->transformation << this->referenceName << this->isInverted;
+	return ColoredObject::serialize(stream) << this->transformation << this->referenceName << this->isInverted;
 }
 
 QDataStream& ldraw::SubfileReference::deserialize(QDataStream &stream)
 {
-	return stream >> this->transformation >> this->referenceName >> this->isInverted;
+	return ColoredObject::deserialize(stream) >> this->transformation >> this->referenceName >> this->isInverted;
 }

mercurial