mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
52567: Transformation operations does not work for Group of Balls
This commit is contained in:
parent
a0f09b9f1b
commit
81d346a7a7
@ -586,6 +586,7 @@ void SMESHGUI_AddMeshElementDlg::ClickOnApply()
|
||||
SMESH::long_array_var anIdList = new SMESH::long_array;
|
||||
anIdList->length( 1 );
|
||||
anIdList[0] = -1;
|
||||
const bool onlyNodesInMesh = ( myMesh->NbElements() == 0 );
|
||||
|
||||
switch (myElementType) {
|
||||
case SMDSAbs_0DElement:
|
||||
@ -645,8 +646,10 @@ void SMESHGUI_AddMeshElementDlg::ClickOnApply()
|
||||
mySelectionMgr->setSelectedObjects( aList, false );
|
||||
|
||||
mySimulation->SetVisibility(false);
|
||||
if ( onlyNodesInMesh )
|
||||
myActor->SetRepresentation( SMESH_Actor::eEdge ); // wireframe
|
||||
SMESH::UpdateView();
|
||||
|
||||
|
||||
buttonOk->setEnabled(false);
|
||||
buttonApply->setEnabled(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user