mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 01:30:33 +05:00
Fix strange string like "1 , 1 , 1 " instead of nb of selected geom objects at mesh creation
This commit is contained in:
parent
6e68fcd497
commit
a30b3a5fbf
@ -318,7 +318,9 @@ int SMESHGUI_SelectionOp::typeById( const QString& str, const EntityType objtype
|
||||
GEOM::GEOM_Object_var obj = GEOM::GEOM_Object::_narrow(
|
||||
dynamic_cast<SALOMEDS_SObject*>( sobj.get() )->GetObject() );
|
||||
if( !CORBA::is_nil( obj ) )
|
||||
res = SMESHGUI_Dialog::prefix( "GEOM" ) + obj->GetType();
|
||||
// as decoding of type id is not realized in LightApp_Dialog,
|
||||
//make all GEOM objects have same type id
|
||||
res = SMESHGUI_Dialog::prefix( "GEOM" );// + obj->GetType();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user