Wed, 18 Mar 2020 15:54:30 +0200
fix
#pragma once #include <QWidget> #include "main.h" #include "../widgets/vec3editor.h" class Model; class PolygonObjectEditor : public QWidget { public: PolygonObjectEditor(Model* model, ldraw::id_t id, QWidget* parent = nullptr); ~PolygonObjectEditor(); ldraw::id_t objectId() const; void setObjectId(ldraw::id_t id); private: void updateNumRows(); Model* model; ldraw::id_t storedObjectId; std::optional<Vec3Editor> vec3Editors[4]; };