src/linetypes/object.cpp

changeset 134
f77d2230e87c
parent 132
488d0ba6070b
child 141
185eb297dc1e
--- a/src/linetypes/object.cpp	Tue Sep 21 16:00:15 2021 +0300
+++ b/src/linetypes/object.cpp	Wed Sep 22 00:25:13 2021 +0300
@@ -139,7 +139,7 @@
  */
 QDataStream& ldraw::ColoredObject::deserialize(QDataStream& stream)
 {
-	return Object::serialize(stream) >> this->colorIndex;
+	return Object::deserialize(stream) >> this->colorIndex;
 }
 
 QString ldraw::Empty::textRepresentation() const

mercurial