mirror of https://github.com/CGAL/cgal
Fix Plugin.
This commit is contained in:
parent
a8159f50e5
commit
c59c95d030
|
|
@ -374,7 +374,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonFit_clicked() {
|
||||||
|
|
||||||
if (ui_widget.checkAutomatic->isChecked()) {
|
if (ui_widget.checkAutomatic->isChecked()) {
|
||||||
if (!approx.visual_items().has_meshing_items) {
|
if (!approx.visual_items().has_meshing_items) {
|
||||||
mi->information(QString("Please meshing before checking auto meshing."));
|
CGAL::Three::Three::information(QString("Please mesh before checking auto meshing."));
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -425,7 +425,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonAdd_clicked() {
|
||||||
|
|
||||||
if (ui_widget.checkAutomatic->isChecked()) {
|
if (ui_widget.checkAutomatic->isChecked()) {
|
||||||
if (!approx.visual_items().has_meshing_items) {
|
if (!approx.visual_items().has_meshing_items) {
|
||||||
mi->information(QString("Please meshing before checking auto meshing."));
|
CGAL::Three::Three::information(QString("Please mesh before checking auto meshing."));
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -476,7 +476,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonTeleport_clicke
|
||||||
|
|
||||||
if (ui_widget.checkAutomatic->isChecked()) {
|
if (ui_widget.checkAutomatic->isChecked()) {
|
||||||
if (!approx.visual_items().has_meshing_items) {
|
if (!approx.visual_items().has_meshing_items) {
|
||||||
mi->information(QString("Please meshing before checking auto meshing."));
|
CGAL::Three::Three::information(QString("Please mesh before checking auto meshing."));
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -529,7 +529,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonSplit_clicked()
|
||||||
|
|
||||||
if (ui_widget.checkAutomatic->isChecked()) {
|
if (ui_widget.checkAutomatic->isChecked()) {
|
||||||
if (!approx.visual_items().has_meshing_items) {
|
if (!approx.visual_items().has_meshing_items) {
|
||||||
mi->information(QString("Please meshing before checking auto meshing."));
|
CGAL::Three::Three::information(QString("Please mesh before checking auto meshing."));
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue