mirror of https://github.com/CGAL/cgal
Fix the output of a c3t3 to a polygon soup
The stream iostate must be cleared before it can be reused.
This commit is contained in:
parent
720db67b6b
commit
067b134c65
|
|
@ -288,6 +288,7 @@ public slots:
|
|||
if(!item->load(off_sstream))
|
||||
{
|
||||
delete item;
|
||||
off_sstream.clear();
|
||||
off_sstream.str(backup);
|
||||
|
||||
// Try to read .off in a polygon soup
|
||||
|
|
|
|||
Loading…
Reference in New Issue