mirror of https://github.com/CGAL/cgal
Merge pull request #7091 from afabri/Demo3D-unamed-GF
Polyhedron Demo: unamed
This commit is contained in:
commit
3ec2acf731
|
|
@ -1069,7 +1069,7 @@ public Q_SLOTS:
|
||||||
selection_item->set_is_insert(is_insert);
|
selection_item->set_is_insert(is_insert);
|
||||||
selection_item->set_k_ring(k_ring);
|
selection_item->set_k_ring(k_ring);
|
||||||
selection_item->setRenderingMode(Flat);
|
selection_item->setRenderingMode(Flat);
|
||||||
if(selection_item->name() == "unamed") {
|
if(selection_item->name() == "unnamed") {
|
||||||
selection_item->setName(tr("%1 (selection)").arg(poly_item->name()));
|
selection_item->setName(tr("%1 (selection)").arg(poly_item->name()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@ void Polyhedron_demo_shortest_path_plugin::new_item(int itemIndex)
|
||||||
|
|
||||||
item->setRenderingMode(Flat);
|
item->setRenderingMode(Flat);
|
||||||
|
|
||||||
if(item->name() == "unamed")
|
if(item->name() == "unnamed")
|
||||||
{
|
{
|
||||||
item->setName(tr("%1 (shortest path computation item)").arg(item->polyhedron_item()->name()));
|
item->setName(tr("%1 (shortest path computation item)").arg(item->polyhedron_item()->name()));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue