Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02be390
)
Fix for bug IPAL10313 (It is impossible to select "Start point" from 3D viewer in...
author
mzn
<mzn@opencascade.com>
Fri, 2 Dec 2005 10:52:13 +0000
(10:52 +0000)
committer
mzn
<mzn@opencascade.com>
Fri, 2 Dec 2005 10:52:13 +0000
(10:52 +0000)
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
b/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
index 45c96260b6f1f42bb7e3a006edebc1ed200abc31..7b68e4817fa855e564b75c407b77bf7261e8564f 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx
@@
-640,7
+640,8
@@
bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
}
//mySelectionMgr->clearSelected();
}
//mySelectionMgr->clearSelected();
- SMESH::UpdateView();
+ SMESH::Update( myMeshActor->getIO(), myMeshActor->GetVisibility() );
+ //SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
return true;
Init(false);
ConstructorsClicked(GetConstructorId());
return true;
@@
-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());