mirror of https://github.com/CGAL/cgal
Commit new feature: export to OFF file.
This commit is contained in:
parent
320f06ab31
commit
774ed639ba
|
|
@ -256,9 +256,9 @@ void Polyhedral_surface::open(const QString& filename)
|
||||||
{
|
{
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
std::cerr << "Opening file \"" << filename.toLatin1().data() << "\"...";
|
std::cerr << "Opening file \"" << filename.toLocal8Bit() << "\"...";
|
||||||
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
|
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
|
||||||
std::ifstream in(filename.toLatin1().data());
|
std::ifstream in(filename.toUtf8());
|
||||||
if(!in) return;
|
if(!in) return;
|
||||||
|
|
||||||
if(surface_ptr)
|
if(surface_ptr)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue