mirror of https://github.com/CGAL/cgal
Bug fixes; nyf
This commit is contained in:
parent
8297e2b849
commit
9c3faed5c5
|
|
@ -966,7 +966,7 @@ protected:
|
|||
return text;
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
bool m_draw_vertices;
|
||||
bool m_draw_edges;
|
||||
bool m_draw_faces;
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ MainWindow::MainWindow (QWidget * parent) : CGAL::Qt::DemosMainWindow (parent),
|
|||
|
||||
QObject::connect(&dialogmesh, SIGNAL(accepted()),
|
||||
this, SLOT(onCreateMeshOk()));
|
||||
// this->viewer->setScene(&scene);
|
||||
this->viewer->setScene(&scene);
|
||||
|
||||
connect_actions ();
|
||||
this->addAboutDemo (":/cgal/help/about_Linear_cell_complex_3.html");
|
||||
|
|
|
|||
|
|
@ -47,12 +47,12 @@ Viewer::~Viewer()
|
|||
void Viewer::sceneChanged()
|
||||
{
|
||||
Base::compute_elements();
|
||||
this->camera()->setSceneBoundingBox(CGAL::qglviewer::Vec(bb.xmin(),
|
||||
bb.ymin(),
|
||||
bb.zmin()),
|
||||
CGAL::qglviewer::Vec(bb.xmax(),
|
||||
bb.ymax(),
|
||||
bb.zmax()));
|
||||
this->camera()->setSceneBoundingBox(CGAL::qglviewer::Vec(m_bounding_box.xmin(),
|
||||
m_bounding_box.ymin(),
|
||||
m_bounding_box.zmin()),
|
||||
CGAL::qglviewer::Vec(m_bounding_box.xmax(),
|
||||
m_bounding_box.ymax(),
|
||||
m_bounding_box.zmax()));
|
||||
if (m_previous_scene_empty)
|
||||
this->showEntireScene();
|
||||
else
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ public:
|
|||
public:
|
||||
// void draw();
|
||||
|
||||
// virtual void init();
|
||||
// virtual void init();
|
||||
|
||||
void keyPressEvent(QKeyEvent *e);
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ private:
|
|||
// QOpenGLShaderProgram rendering_program;
|
||||
// QOpenGLShaderProgram rendering_program_p_l;
|
||||
|
||||
CGAL::Bbox_3 bb;
|
||||
// CGAL::Bbox_3 bb;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue