mirror of https://github.com/CGAL/cgal
Fixes
This commit is contained in:
parent
ccec9f45c8
commit
1a5d74f020
|
|
@ -16,6 +16,7 @@
|
|||
#include <CGAL/AABB_face_graph_triangle_primitive.h>
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <QMap>
|
||||
#include <QGLViewer/manipulatedFrame.h>
|
||||
#include <QGLViewer/qglviewer.h>
|
||||
#include <QOpenGLFunctions_2_1>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <QApplication>
|
||||
#include <QKeyEvent>
|
||||
|
||||
#include <QMap>
|
||||
#include <QGLViewer/qglviewer.h>
|
||||
#include <QKeyEvent>
|
||||
#include <QOpenGLFunctions_2_1>
|
||||
|
|
|
|||
|
|
@ -232,13 +232,13 @@ public Q_SLOTS:
|
|||
{
|
||||
if(sm_item)
|
||||
{
|
||||
CGAL::Polygon_mesh_processing::clip(*(sm_item->polyhedron()),
|
||||
CGAL::Polygon_mesh_processing::clip(*(sm_item->face_graph()),
|
||||
plane->plane(),
|
||||
ui_widget.close_checkBox->isChecked());
|
||||
}
|
||||
else
|
||||
{
|
||||
CGAL::Polygon_mesh_processing::clip(*(poly_item->polyhedron()),
|
||||
CGAL::Polygon_mesh_processing::clip(*(poly_item->face_graph()),
|
||||
plane->plane(),
|
||||
ui_widget.close_checkBox->isChecked());
|
||||
}
|
||||
|
|
@ -258,7 +258,7 @@ public Q_SLOTS:
|
|||
}
|
||||
}
|
||||
}
|
||||
viewer->updateGL();
|
||||
viewer->update();
|
||||
}
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#define SCENE_H
|
||||
|
||||
#include "typedefs.h"
|
||||
#include <QMap>
|
||||
#include <QGLViewer/qglviewer.h>
|
||||
|
||||
class Scene {
|
||||
|
|
|
|||
Loading…
Reference in New Issue