mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
22359: Body Fitting algorithm: grid orientation
Fix the destructor
This commit is contained in:
parent
fce720f2d2
commit
5c9a9bf940
@ -103,15 +103,15 @@ SMESHGUI_MeshEditPreview::~SMESHGUI_MeshEditPreview()
|
|||||||
{
|
{
|
||||||
myGrid->Delete();
|
myGrid->Delete();
|
||||||
|
|
||||||
myViewWindow->RemoveActor(myPreviewActor);
|
|
||||||
myPreviewActor->Delete();
|
|
||||||
|
|
||||||
for ( size_t iA = 0; iA < myLabelActors.size(); ++iA )
|
for ( size_t iA = 0; iA < myLabelActors.size(); ++iA )
|
||||||
if ( myLabelActors[iA] )
|
if ( myLabelActors[iA] )
|
||||||
{
|
{
|
||||||
myPreviewActor->GetRenderer()->RemoveActor( myLabelActors[iA] );
|
myPreviewActor->GetRenderer()->RemoveActor( myLabelActors[iA] );
|
||||||
myLabelActors[iA]->Delete();
|
myLabelActors[iA]->Delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
myViewWindow->RemoveActor(myPreviewActor);
|
||||||
|
myPreviewActor->Delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user