mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
Update sub-mesh actors after Compute
This commit is contained in:
parent
e3019524b4
commit
7c8ea81b29
@ -951,7 +951,7 @@ void SMESHGUI_BaseComputeOp::computeMesh()
|
||||
SMESH::SMESH_IDSource_var aSubMeshObj =
|
||||
SMESH::SObjectToInterface<SMESH::SMESH_IDSource>( smSObj );
|
||||
SMESH_Actor *anActor = SMESH::FindActorByObject( aSubMeshObj );
|
||||
if ( anActor && anActor->GetVisibility() )
|
||||
if ( anActor /*&& anActor->GetVisibility()*/ )
|
||||
aListToUpdate.append( TListOf_IDSrc_SObj::value_type( aSubMeshObj, smSObj ));
|
||||
}
|
||||
// put Groups into list
|
||||
@ -967,7 +967,7 @@ void SMESHGUI_BaseComputeOp::computeMesh()
|
||||
SMESH::SMESH_IDSource_var aGroupObj =
|
||||
SMESH::SObjectToInterface<SMESH::SMESH_IDSource>( aGroupSO );
|
||||
SMESH_Actor *anActor = SMESH::FindActorByObject( aGroupObj );
|
||||
if ( anActor && anActor->GetVisibility() )
|
||||
if ( anActor /*&& anActor->GetVisibility()*/ )
|
||||
aListToUpdate.append( TListOf_IDSrc_SObj::value_type( aGroupObj, aGroupSO ));
|
||||
}
|
||||
|
||||
@ -994,6 +994,13 @@ void SMESHGUI_BaseComputeOp::computeMesh()
|
||||
//SMESH::DisplayActor( SMESH::GetActiveWindow(), anActor ); -- 23615
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SMESH_Actor *anActor = SMESH::FindActorByEntry( entry.c_str() );
|
||||
anActor->Update();
|
||||
if ( !anActor->GetVisibility() )
|
||||
continue;
|
||||
}
|
||||
SMESH::UpdateView( SMESH::eDisplay, entry.c_str() );
|
||||
|
||||
if ( SVTK_ViewWindow* vtkWnd = SMESH::GetVtkViewWindow(SMESH::GetActiveWindow() ))
|
||||
|
Loading…
Reference in New Issue
Block a user