mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
0020428: EDF 906 GEOM : Performance for Group creation in GEOM
Additional fix for the "Main Shape Selection restriction" case
This commit is contained in:
parent
0176bc0702
commit
d669f7ab48
@ -610,15 +610,13 @@ void GroupGUI_GroupDlg::ConstructorsClicked( int constructorId )
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void GroupGUI_GroupDlg::selectAllSubShapes()
|
void GroupGUI_GroupDlg::selectAllSubShapes()
|
||||||
{
|
{
|
||||||
if ( CORBA::is_nil( myMainObj ) )
|
if ( CORBA::is_nil( myMainObj ) || !myIsShapeType )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GEOM::ListOfLong_var aSubShapes;
|
GEOM::ListOfLong_var aSubShapes;
|
||||||
// if ( !myPlaceCheckBox->isChecked() )
|
// if ( !myPlaceCheckBox->isChecked() )
|
||||||
if ( subSelectionWay() == ALL_SUBSHAPES )
|
if ( subSelectionWay() == ALL_SUBSHAPES )
|
||||||
{
|
{
|
||||||
if ( !myIsShapeType )
|
|
||||||
return;
|
|
||||||
myIdList->clear();
|
myIdList->clear();
|
||||||
GEOM::GEOM_IShapesOperations_var aShOp = getGeomEngine()->GetIShapesOperations( getStudyId() );
|
GEOM::GEOM_IShapesOperations_var aShOp = getGeomEngine()->GetIShapesOperations( getStudyId() );
|
||||||
aSubShapes = aShOp->SubShapeAllIDs(myMainObj, getShapeType(), false);
|
aSubShapes = aShOp->SubShapeAllIDs(myMainObj, getShapeType(), false);
|
||||||
|
Loading…
Reference in New Issue
Block a user