diff --git a/src/meshlab/glarea.cpp b/src/meshlab/glarea.cpp index 88ca0209b..95709656b 100644 --- a/src/meshlab/glarea.cpp +++ b/src/meshlab/glarea.cpp @@ -859,9 +859,12 @@ void GLArea::setCursorTrack(vcg::TrackMode *tm) curMap["SphereMode"]=QCursor(QPixmap(":/images/cursors/plain_trackball.png"),1,1); curMap["PanMode"]=QCursor(QPixmap(":/images/cursors/plain_pan.png"),1,1); curMap["ScaleMode"]=QCursor(QPixmap(":/images/cursors/plain_zoom.png"),1,1); + curMap["PickMode"]=QCursor(QPixmap(":/images/cursors/plain_pick.png"),1,1); } if(tm) setCursor(curMap[tm->Name()]); - else setCursor(curMap[""]); + else + if(hasToGetPickPos) setCursor(curMap["PickMode"]); + else setCursor(curMap[""]); } @@ -1122,6 +1125,7 @@ void GLArea::sendViewPos(QString name) void GLArea::sendSurfacePos(QString name) { + qDebug("sendSurfacePos %s",qPrintable(name)); nameToGetPickPos = name; hasToGetPickPos=true; } diff --git a/src/meshlab/images/cursors/plain_pick.png b/src/meshlab/images/cursors/plain_pick.png new file mode 100644 index 000000000..8729a794f Binary files /dev/null and b/src/meshlab/images/cursors/plain_pick.png differ diff --git a/src/meshlab/meshlab.qrc b/src/meshlab/meshlab.qrc index b66885a3e..b6638af1b 100644 --- a/src/meshlab/meshlab.qrc +++ b/src/meshlab/meshlab.qrc @@ -41,5 +41,6 @@ images/open_project.png images/import_mesh.png images/new_project.png + images/cursors/plain_pick.png