--- 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; }