fix typo and reduce the number of points per face by default

This commit is contained in:
Sébastien Loriot 2017-01-12 16:10:23 +01:00
parent 6f4ec93b11
commit ac18291803
1 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ public:
//creates the action //creates the action
QAction *actionComputeDistance= new QAction(QString("Compute Distance Between Polyhedra"), mw); QAction *actionComputeDistance= new QAction(QString("Compute Distance Between Polyhedra"), mw);
//specifies the subMenu //specifies the subMenu
actionComputeDistance->setProperty("submenuName", "Polygon Mesh Processing"); actionComputeDistance->setProperty("subMenuName", "Polygon Mesh Processing");
//links the action //links the action
if(actionComputeDistance) { if(actionComputeDistance) {
connect(actionComputeDistance, SIGNAL(triggered()), connect(actionComputeDistance, SIGNAL(triggered()),
@ -432,7 +432,7 @@ public Q_SLOTS:
{ {
bool ok = false; bool ok = false;
nb_pts_per_face = QInputDialog::getInt(mw, tr("Sampling"), nb_pts_per_face = QInputDialog::getInt(mw, tr("Sampling"),
tr("Number of points per face:"),400, 1,2147483647,1, &ok); tr("Number of points per face:"),40, 1,2147483647,1, &ok);
if (!ok) if (!ok)
return; return;