diff -r 1de2b8d64e9f -r 98906a94732f src/modeleditcontext.cpp --- a/src/modeleditcontext.cpp Tue Jan 28 23:34:49 2020 +0200 +++ b/src/modeleditcontext.cpp Thu Jan 30 19:20:11 2020 +0200 @@ -23,28 +23,28 @@ { } -linetypes::Id Model::EditContext::append(std::unique_ptr&& object) +ldraw::Id Model::EditContext::append(std::unique_ptr&& object) { - const linetypes::Id id = object->id; + const ldraw::Id id = object->id; this->model.objectsById[id] = object.get(); this->model.append(std::move(object)); return id; } void Model::EditContext::setObjectProperty( - linetypes::Object* object, - linetypes::Property property, + ldraw::Object* object, + ldraw::Property property, const QVariant& value) { object->setProperty(property, value); } -void Model::EditContext::invertObject(linetypes::Id id) +void Model::EditContext::invertObject(ldraw::Id id) { auto it = this->model.objectsById.find(id); if (it != this->model.objectsById.end()) { - linetypes::Object* object = it->second; + ldraw::Object* object = it->second; object->invert(); } }