diff -r 2f383e88acf4 -r 185eb297dc1e src/linetypes/metacommand.cpp --- 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; +} +