Merge pull request #7091 from afabri/Demo3D-unamed-GF

Polyhedron Demo: unamed
This commit is contained in:
Laurent Rineau 2022-12-05 11:03:05 +01:00
commit 3ec2acf731
2 changed files with 2 additions and 2 deletions

View File

@ -1069,7 +1069,7 @@ public Q_SLOTS:
selection_item->set_is_insert(is_insert);
selection_item->set_k_ring(k_ring);
selection_item->setRenderingMode(Flat);
if(selection_item->name() == "unamed") {
if(selection_item->name() == "unnamed") {
selection_item->setName(tr("%1 (selection)").arg(poly_item->name()));
}

View File

@ -222,7 +222,7 @@ void Polyhedron_demo_shortest_path_plugin::new_item(int itemIndex)
item->setRenderingMode(Flat);
if(item->name() == "unamed")
if(item->name() == "unnamed")
{
item->setName(tr("%1 (shortest path computation item)").arg(item->polyhedron_item()->name()));
}