mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 16:44:37 +00:00
using the mouse MidButton on a vertex will now clear it (white color and "Unknown" selection value)
This commit is contained in:
parent
187daf1dfb
commit
08aea29ffa
@ -382,10 +382,14 @@ void EditSegment::Decorate(QAction * ac, MeshModel & m, GLArea * gla) {
|
||||
meshCut->Mark(*vi, iF);
|
||||
(*vi)->C()
|
||||
= toVcgColor(meshCutDialog->getForegroundColor());
|
||||
} else {
|
||||
} else if (mouse_button_pressed==Qt::RightButton ){
|
||||
meshCut->Mark(*vi, iB);
|
||||
(*vi)->C()
|
||||
= toVcgColor(meshCutDialog->getBackgroundColor());
|
||||
} else if (mouse_button_pressed==Qt::MidButton) {
|
||||
meshCut->Mark(*vi, U);
|
||||
(*vi)->C()
|
||||
= toVcgColor(Qt::white);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user