--- a/src/glrenderer.h Fri Dec 28 00:03:47 2018 +0200 +++ b/src/glrenderer.h Thu Jun 20 08:54:35 2019 +0300 @@ -87,7 +87,7 @@ const Model* model() const; QPoint const& mousePosition() const; QPointF const& mousePositionF() const; - QPersistentModelIndex objectAtCursor() const; + const Uuid& objectAtCursor() const; QItemSelection pick(const QRect& range); QModelIndex pick(int mouseX, int mouseY); void resetAllAngles(); @@ -133,7 +133,7 @@ private: const Model* const m_model; gl::Compiler* m_compiler; - QPersistentModelIndex m_objectAtCursor; + Uuid m_objectAtCursor; gl::CameraIcon m_cameraIcons[7]; QTimer* m_toolTipTimer; Qt::MouseButtons m_lastButtons;