]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL8978 - selection is lost after some operations
authorasl <asl@opencascade.com>
Wed, 23 Nov 2005 12:08:49 +0000 (12:08 +0000)
committerasl <asl@opencascade.com>
Wed, 23 Nov 2005 12:08:49 +0000 (12:08 +0000)
src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
src/SMESHGUI/SMESHGUI_SewingDlg.cxx
src/SMESHGUI/SMESHGUI_SingleEditDlg.cxx
src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx
src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx

index 935f18bae88862690652cbe04a85b5119aa85f75..ee128b2cc4dcdeb0036e3355aaac35cb83373c19 100644 (file)
@@ -199,7 +199,7 @@ void SMESHGUI_EditMeshDlg::ClickOnApply()
     } catch(...) {
     }
 
-    mySelectionMgr->clearSelected();
+    //mySelectionMgr->clearSelected();
     SMESH::UpdateView();
   }
 }
@@ -220,7 +220,7 @@ void SMESHGUI_EditMeshDlg::ClickOnOk()
 //=================================================================================
 void SMESHGUI_EditMeshDlg::ClickOnCancel()
 {
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   mySelectionMgr->clearFilters();
   disconnect(mySelectionMgr, 0, this, 0);
   mySMESHGUI->ResetState();
index a3a862b00609ce6a7074cfde7e6087f2f619ca39..205b5b3463539608e70d41bcd577e0dadaa850d3 100755 (executable)
@@ -414,7 +414,7 @@ bool SMESHGUI_MeshPatternDlg::onApply()
     bool toCreatePolygons = myCreatePolygonsChk->isChecked();
     bool toCreatePolyedrs = myCreatePolyedrsChk->isChecked();
     if ( myPattern->MakeMesh( myMesh, toCreatePolygons, toCreatePolyedrs ) ) {
-      mySelectionMgr->clearSelected();
+      //mySelectionMgr->clearSelected();
       bool autoUpdate = SMESHGUI::automaticUpdate();
       if (!isRefine() && autoUpdate) {
        _PTR(SObject) aSO = SMESH::FindSObject(myMesh.in());
index cc1be069716b21e1e66ec3b158ac734484f68b72..1cb0413fbca6efc0e61f5fd7af359c25c66c02db 100644 (file)
@@ -322,7 +322,7 @@ void SMESHGUI_MoveNodesDlg::onOk()
 //=======================================================================
 void SMESHGUI_MoveNodesDlg::onClose()
 {
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);
index ac7e5969bbd767e5b411e46d910f81883b9d870a..be640381fbeb962959ce9003666f052e98958222 100755 (executable)
@@ -438,7 +438,7 @@ void SMESHGUI_MultiEditDlg::onClose()
   SMESH::RemoveFilters();
   SMESH::SetPickable();
 
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   mySelectionMgr->clearFilters();
 
   reject();
@@ -942,7 +942,7 @@ bool SMESHGUI_MultiEditDlg::onApply()
   bool aResult = process(aMeshEditor, anIds.inout());
   if (aResult) {
     if (myActor) {
-      mySelectionMgr->clearSelected();
+      //mySelectionMgr->clearSelected();
       SMESH::UpdateView();
     }
 
index bc33e671858d48a0649dcd8dc6ed9c7def861318..baf1359ce0ee489ef887409b8d4a4a7e2a68403a 100644 (file)
@@ -448,7 +448,7 @@ void SMESHGUI_RotationDlg::ClickOnCancel()
 {
   disconnect(mySelectionMgr, 0, this, 0);
   mySelectionMgr->clearFilters();
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);
index 6ee03914146aa7263aa2329bcee5d0e986aaaf3e..383e3277f05a66d1779fbee9c90defd6a24e2084 100644 (file)
@@ -593,7 +593,7 @@ void SMESHGUI_SewingDlg::ClickOnOk()
 //=================================================================================
 void SMESHGUI_SewingDlg::ClickOnCancel()
 {
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);
index 2787ba3cb24105c1af33a687ad8f0892aeb654c8..754232f6a8fc04443d8566f8fbd826264b78a055 100755 (executable)
@@ -264,7 +264,7 @@ void SMESHGUI_SingleEditDlg::onClose()
 {
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   disconnect(mySelectionMgr, 0, this, 0);
   disconnect(mySMESHGUI, 0, this, 0);
   mySMESHGUI->ResetState();
index 40400d4996e97f249e12a2143e1fe31b7e6de466..c2a8b1312d82b5b92a4b983359b7863d8c775ff8 100644 (file)
@@ -421,7 +421,7 @@ void SMESHGUI_SmoothingDlg::ClickOnCancel()
 {
   disconnect(mySelectionMgr, 0, this, 0);
   mySelectionMgr->clearFilters();
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPickable(); // ???
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
index 61c91d2d3efb7d8a2893d2ada0ea8799545119ad..1137ec4ecbc78e2b419bb200dd92a73280c6ab57 100644 (file)
@@ -511,7 +511,7 @@ void SMESHGUI_SymmetryDlg::ClickOnCancel()
 {
   disconnect(mySelectionMgr, 0, this, 0);
   mySelectionMgr->clearFilters();
-  mySelectionMgr->clearSelected();
+  //mySelectionMgr->clearSelected();
   SMESH::SetPointRepresentation(false);
   if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
     aViewWindow->SetSelectionMode(ActorSelection);