mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +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);
|
SALOME_ListIteratorOfListIO anIt (aList);
|
||||||
for (; anIt.More(); anIt.Next())
|
for (; anIt.More(); anIt.Next())
|
||||||
{
|
{
|
||||||
testResult = Standard_False;
|
aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value());
|
||||||
aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value(), testResult);
|
|
||||||
|
|
||||||
// Check if the object is a geometry group
|
// Check if the object is a geometry group
|
||||||
if (!testResult || CORBA::is_nil(aGeomGroup))
|
if (CORBA::is_nil(aGeomGroup))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Check if group constructed on the same shape as a mesh or on its child
|
// Check if group constructed on the same shape as a mesh or on its child
|
||||||
|
Loading…
Reference in New Issue
Block a user