]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
untabify
authoreap <eap@opencascade.com>
Wed, 17 Jul 2013 14:53:51 +0000 (14:53 +0000)
committereap <eap@opencascade.com>
Wed, 17 Jul 2013 14:53:51 +0000 (14:53 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 33de52b4dd998f5772ee063d60884091bc556595..4226a8a3f10cf2a12a6d905a6a24451332dbdc80 100644 (file)
       aSel->selectedObjects( selected );
       
       if(selected.Extent()){
-       Handle(SALOME_InteractiveObject) anIObject = selected.First();
-       _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
-       _PTR(SObject) aSObj = aStudy->FindObjectID(anIObject->getEntry());
-       if (aSObj) {
-         if ( aStudy->GetUseCaseBuilder()->SortChildren( aSObj, true/*AscendingOrder*/ ) ) {
-           SMESHGUI::GetSMESHGUI()->updateObjBrowser();
-         }
-       }
+        Handle(SALOME_InteractiveObject) anIObject = selected.First();
+        _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
+        _PTR(SObject) aSObj = aStudy->FindObjectID(anIObject->getEntry());
+        if (aSObj) {
+          if ( aStudy->GetUseCaseBuilder()->SortChildren( aSObj, true/*AscendingOrder*/ ) ) {
+            SMESHGUI::GetSMESHGUI()->updateObjBrowser();
+          }
+        }
       }
     }
   }