Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix selection by id entering, fix shape dim definition
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ExtrusionAlongPathDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
b/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
index 3e84be424a3d3c3957d164cdae29aa3ea8ff6ab5..7b68e4817fa855e564b75c407b77bf7261e8564f 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
@@
-639,8
+639,9
@@
bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
return false;
}
return false;
}
- mySelectionMgr->clearSelected();
- SMESH::UpdateView();
+ //mySelectionMgr->clearSelected();
+ SMESH::Update( myMeshActor->getIO(), myMeshActor->GetVisibility() );
+ //SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
return true;
Init(false);
ConstructorsClicked(GetConstructorId());
return true;
@@
-664,7
+665,7
@@
void SMESHGUI_ExtrusionAlongPathDlg::reject()
{
disconnect(mySelectionMgr, 0, this, 0);
mySelectionMgr->clearFilters();
{
disconnect(mySelectionMgr, 0, this, 0);
mySelectionMgr->clearFilters();
- mySelectionMgr->clearSelected();
+
//
mySelectionMgr->clearSelected();
SMESH::SetPickable(); // ???
SMESH::SetPointRepresentation(false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
SMESH::SetPickable(); // ???
SMESH::SetPointRepresentation(false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
@@
-861,8
+862,12
@@
void SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument()
// try to get shape from selection
Handle(SALOME_InteractiveObject) IO = aList.First();
// try to get shape from selection
Handle(SALOME_InteractiveObject) IO = aList.First();
+ SMESH_Actor* aPathActor = SMESH::FindActorByObject(myPathMesh);
+ if ( !aPathActor )
+ return;
+
QString aString;
QString aString;
- int aNbUnits = SMESH::GetNameOfSelectedElements(mySelector,
myMes
hActor->getIO(), aString);
+ int aNbUnits = SMESH::GetNameOfSelectedElements(mySelector,
aPat
hActor->getIO(), aString);
if (aNbUnits == 1)
StartPointLineEdit->setText(aString.stripWhiteSpace());
if (aNbUnits == 1)
StartPointLineEdit->setText(aString.stripWhiteSpace());