src/linetypes/metacommand.cpp

changeset 141
185eb297dc1e
parent 134
f77d2230e87c
child 158
5bd755eaa5a8
--- a/src/linetypes/metacommand.cpp	Mon Sep 27 21:04:45 2021 +0300
+++ b/src/linetypes/metacommand.cpp	Tue Sep 28 00:10:29 2021 +0300
@@ -51,3 +51,8 @@
 	return ldraw::Object::deserialize(stream) >> this->storedText;
 }
 
+QString ldraw::MetaCommand::toLDrawCode() const
+{
+	return "0 " + this->storedText;
+}
+

mercurial