Sun, 19 Jan 2020 02:54:48 +0200
commit work on GL rendering
#include "modeleditcontext.h" Model::EditContext::EditContext(Model& model) : model{model} { } void Model::EditContext::append(std::unique_ptr<linetypes::Object>&& object) { this->model.append(std::move(object)); } void Model::EditContext::setObjectProperty( linetypes::Object* object, linetypes::Property property, const QVariant& value) { object->setProperty(property, value); }