src/linetypes/comment.cpp

changeset 141
185eb297dc1e
parent 134
f77d2230e87c
--- a/src/linetypes/comment.cpp	Mon Sep 27 21:04:45 2021 +0300
+++ b/src/linetypes/comment.cpp	Tue Sep 28 00:10:29 2021 +0300
@@ -13,3 +13,8 @@
 	return Type::Comment;
 }
 
+QString ldraw::Comment::toLDrawCode() const
+{
+	return ("0 // " + this->storedText).trimmed();
+}
+

mercurial