Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b15d2
)
Fix for '54677: TC-9.5.0: SMESH: ball visualization failed'
author
rnv
<rnv@opencascade.com>
Wed, 27 May 2020 20:56:31 +0000
(23:56 +0300)
committer
rnv
<rnv@opencascade.com>
Wed, 27 May 2020 20:56:31 +0000
(23:56 +0300)
src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
index e4654aa620cc1ab8b8104f30185e55b89ba0805f..165b1487c4426442cdb0f8d1cfac28fb8d4a57ea 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx
@@
-217,6
+217,7
@@
namespace SMESH
void SetBallPosition(SMESH_Actor* theActor,TVTKIds& theIds, double theDiameter)
{
vtkUnstructuredGrid *aGrid = theActor->GetUnstructuredGrid();
+ myBallPolyData->SetPoints(NULL);
myBallPolyData->Reset();
myBallPolyData->DeleteCells();
myBallPolyData->SetPoints(aGrid->GetPoints());