bug fix (was already in 4.6.1): enable polyline input

This commit is contained in:
Andreas Fabri 2015-07-15 10:48:10 +02:00
parent a1cf35a982
commit 69c3ac74ba
2 changed files with 7 additions and 7 deletions

View File

@ -162,7 +162,7 @@ MainWindow::MainWindow()
// and the input they generate is passed to the triangulation with
// the signal/slot mechanism
mPI = new CGAL::Qt::GraphicsViewPolylineInput<K>(this, &mScene, 0, true); // inputs polylines which are not closed
this->on_actionInsertPolyline_toggled(true);
QObject::connect(mPI, SIGNAL(generate(CGAL::Object)), this, SLOT(processInput(CGAL::Object)));
@ -172,8 +172,8 @@ MainWindow::MainWindow()
QObject::connect(this->actionQuit, SIGNAL(triggered()), this, SLOT(close()));
// We put mutually exclusive actions in an QActionGroup
QActionGroup* ag = new QActionGroup(this);
ag->addAction(this->actionInsertPolyline);
// QActionGroup* ag = new QActionGroup(this);
// ag->addAction(this->actionInsertPolyline);
this->actionShowTriangulation->setChecked(false);

View File

@ -1,10 +1,10 @@
<html>
<body>
<h2>Constrained Delaunay Triangulation</h2>
<p>Copyright &copy; 2008 GeometryFactory</p>
<p>This application illustrates the 2D Constrained Delaunay
<h2>Polyline Simplification</h2>
<p>Copyright &copy; 2014 GeometryFactory</p>
<p>This application illustrates the 2D polyline simplification
of <a href="http://www.cgal.org/">CGAL</a>.</p>
<p>See also <a href="http://www.cgal.org/Pkg/Triangulation2">the online
<p>See also <a href="http://www.cgal.org/Pkg/PolylineSimplification2">the online
manual</a>.</p>
</body>
</html>