diff -r ed9685f44ab3 -r cef43609a374 src/vertex.cpp --- a/src/vertex.cpp Sat Dec 14 22:36:06 2019 +0200 +++ b/src/vertex.cpp Sat Dec 14 23:00:01 2019 +0200 @@ -61,6 +61,11 @@ } } +Point3D::operator QVariant() const +{ + return QVariant::fromValue(*this); +} + void Point3D::assign(Axis axis, CoordinateType value) { this->get(axis) = value;