mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Fix for bug IPAL10313 (It is impossible to select "Start point" from 3D viewer in "Extrusion along a path" dialog box).
This commit is contained in:
parent
02be390389
commit
7d9ae6b54f
@ -640,7 +640,8 @@ bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//mySelectionMgr->clearSelected();
|
//mySelectionMgr->clearSelected();
|
||||||
SMESH::UpdateView();
|
SMESH::Update( myMeshActor->getIO(), myMeshActor->GetVisibility() );
|
||||||
|
//SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
ConstructorsClicked(GetConstructorId());
|
ConstructorsClicked(GetConstructorId());
|
||||||
return true;
|
return true;
|
||||||
@ -861,8 +862,12 @@ void SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument()
|
|||||||
// try to get shape from selection
|
// try to get shape from selection
|
||||||
Handle(SALOME_InteractiveObject) IO = aList.First();
|
Handle(SALOME_InteractiveObject) IO = aList.First();
|
||||||
|
|
||||||
|
SMESH_Actor* aPathActor = SMESH::FindActorByObject(myPathMesh);
|
||||||
|
if ( !aPathActor )
|
||||||
|
return;
|
||||||
|
|
||||||
QString aString;
|
QString aString;
|
||||||
int aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, myMeshActor->getIO(), aString);
|
int aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, aPathActor->getIO(), aString);
|
||||||
if (aNbUnits == 1)
|
if (aNbUnits == 1)
|
||||||
StartPointLineEdit->setText(aString.stripWhiteSpace());
|
StartPointLineEdit->setText(aString.stripWhiteSpace());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user