mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
Code refactoring
This commit is contained in:
parent
301af5256a
commit
e74edb9fb4
@ -1187,11 +1187,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
||||
SALOME_ListIteratorOfListIO anIt (aList);
|
||||
for (; anIt.More(); anIt.Next())
|
||||
{
|
||||
testResult = Standard_False;
|
||||
aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value(), testResult);
|
||||
aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value());
|
||||
|
||||
// Check if the object is a geometry group
|
||||
if (!testResult || CORBA::is_nil(aGeomGroup))
|
||||
if (CORBA::is_nil(aGeomGroup))
|
||||
continue;
|
||||
|
||||
// Check if group constructed on the same shape as a mesh or on its child
|
||||
|
Loading…
Reference in New Issue
Block a user