Sat, 05 Mar 2022 13:38:22 +0200
Render draw tool preview as a line when we only have 2 points
#include <QFont> #include "comment.h" QFont ldraw::Comment::textRepresentationFont() const { QFont font; font.setItalic(true); return font; } ldraw::Object::Type ldraw::Comment::typeIdentifier() const { return Type::Comment; } QString ldraw::Comment::toLDrawCode() const { return ("0 // " + this->storedText).trimmed(); }