mirror of https://github.com/CGAL/cgal
set the name of the item
This commit is contained in:
parent
340133a0e4
commit
823e02222e
|
|
@ -64,6 +64,7 @@ Polyhedron_demo_off_plugin::load_off(QFileInfo fileinfo) {
|
||||||
{
|
{
|
||||||
in.seekg(0);
|
in.seekg(0);
|
||||||
Scene_points_with_normal_item* item = new Scene_points_with_normal_item();
|
Scene_points_with_normal_item* item = new Scene_points_with_normal_item();
|
||||||
|
item->setName(fileinfo.completeBaseName());
|
||||||
if (scanner.size_of_vertices()==0) return item;
|
if (scanner.size_of_vertices()==0) return item;
|
||||||
if(!item->read_off_point_set(in))
|
if(!item->read_off_point_set(in))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue