mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 18:14:38 +00:00
Added cursor shape when picking point on surface from a Point3f Parameter in a filter dialog
This commit is contained in:
parent
fe9b5ec7e4
commit
4bd61024bc
@ -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;
|
||||
}
|
||||
|
||||
BIN
src/meshlab/images/cursors/plain_pick.png
Normal file
BIN
src/meshlab/images/cursors/plain_pick.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
@ -41,5 +41,6 @@
|
||||
<file>images/open_project.png</file>
|
||||
<file>images/import_mesh.png</file>
|
||||
<file>images/new_project.png</file>
|
||||
<file>images/cursors/plain_pick.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user