-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
return false;
// Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
- // anIO->setEntry( theEntry.toLatin1().constData() );
-
- // get indexes of seleted elements
+ // anIO->setEntry( theEntry.toUtf8().constData() );
+
+ // get indexes of selected elements
TopExp::MapShapes( theMainShape, myMapOfShapes );
TopExp_Explorer exp( theShape, theType );
QSet<int> indices;
QString entry = QString( "%1_%2" ).arg( myEntry ).arg( index );
// Create interactive object
Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
- anIO->setEntry( entry.toLatin1().constData() );
+ anIO->setEntry( entry.toUtf8().constData() );
// Init Actor
anActor->SetVectorMode( myType==TopAbs_EDGE );
anActor->setIO( anIO );