mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Fix for '54677: TC-9.5.0: SMESH: ball visualization failed'
This commit is contained in:
parent
2a5ef76d25
commit
67c4262d23
@ -217,6 +217,7 @@ namespace SMESH
|
|||||||
void SetBallPosition(SMESH_Actor* theActor,TVTKIds& theIds, double theDiameter)
|
void SetBallPosition(SMESH_Actor* theActor,TVTKIds& theIds, double theDiameter)
|
||||||
{
|
{
|
||||||
vtkUnstructuredGrid *aGrid = theActor->GetUnstructuredGrid();
|
vtkUnstructuredGrid *aGrid = theActor->GetUnstructuredGrid();
|
||||||
|
myBallPolyData->SetPoints(NULL);
|
||||||
myBallPolyData->Reset();
|
myBallPolyData->Reset();
|
||||||
myBallPolyData->DeleteCells();
|
myBallPolyData->DeleteCells();
|
||||||
myBallPolyData->SetPoints(aGrid->GetPoints());
|
myBallPolyData->SetPoints(aGrid->GetPoints());
|
||||||
|
Loading…
Reference in New Issue
Block a user