mirror of https://github.com/CGAL/cgal
Merge pull request #854 from maxGimeno/Polyhedron_demo-Fix_for_c3t3-GF
Polyhedron_demo : Fix for the c3t3_items
This commit is contained in:
commit
9eb014121b
|
|
@ -58,6 +58,7 @@ Polyhedron_demo_c3t3_binary_io_plugin::load(QFileInfo fileinfo) {
|
|||
|
||||
|
||||
if(item->load_binary(in)) {
|
||||
item->c3t3_changed();
|
||||
item->changed();
|
||||
return item;
|
||||
}
|
||||
|
|
@ -65,6 +66,7 @@ Polyhedron_demo_c3t3_binary_io_plugin::load(QFileInfo fileinfo) {
|
|||
item->c3t3().clear();
|
||||
in.seekg(0);
|
||||
if(try_load_other_binary_format(in, item->c3t3())) {
|
||||
item->c3t3_changed();
|
||||
item->changed();
|
||||
return item;
|
||||
}
|
||||
|
|
@ -72,6 +74,7 @@ Polyhedron_demo_c3t3_binary_io_plugin::load(QFileInfo fileinfo) {
|
|||
item->c3t3().clear();
|
||||
in.seekg(0);
|
||||
if(try_load_a_cdt_3(in, item->c3t3())) {
|
||||
item->c3t3_changed();
|
||||
item->changed();
|
||||
return item;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1146,7 +1146,6 @@ void Scene_c3t3_item::compute_elements()
|
|||
if (isEmpty()){
|
||||
return;
|
||||
}
|
||||
|
||||
for (Tr::Finite_facets_iterator
|
||||
fit = c3t3().triangulation().finite_facets_begin(),
|
||||
end = c3t3().triangulation().finite_facets_end();
|
||||
|
|
@ -1166,7 +1165,6 @@ void Scene_c3t3_item::compute_elements()
|
|||
}
|
||||
tree.build();
|
||||
|
||||
|
||||
//The facets
|
||||
{
|
||||
for (C3t3::Facet_iterator
|
||||
|
|
|
|||
Loading…
Reference in New Issue