Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a65c92
)
IPAL54679: TC-9.5.0: Polyherdon preview - SIGSEGV
author
eap
<eap@opencascade.com>
Mon, 25 May 2020 11:48:53 +0000
(14:48 +0300)
committer
eap
<eap@opencascade.com>
Mon, 25 May 2020 11:48:53 +0000
(14:48 +0300)
src/VTKViewer/VTKViewer_ConvexTool.cxx
patch
|
blob
|
history
diff --git
a/src/VTKViewer/VTKViewer_ConvexTool.cxx
b/src/VTKViewer/VTKViewer_ConvexTool.cxx
index 159a782bbdf00af7ec95e5dbba7df3952dce99ab..e8cd08c572a4680782520f36fd2e7f8ba5e0d420 100644
(file)
--- a/
src/VTKViewer/VTKViewer_ConvexTool.cxx
+++ b/
src/VTKViewer/VTKViewer_ConvexTool.cxx
@@
-107,8
+107,9
@@
VTKViewer_Triangulator
myPoints->Modified(); // the VTK bug
vtkIdType aNumPts;
- vtkIdType const *tmp
(myPointIds)
;
+ vtkIdType const *tmp;
theInput->GetCellPoints(theCellId, aNumPts, tmp);
+ myPointIds = const_cast<vtkIdType*>( tmp );
if ( aNumPts > 0 ) {
double anAbsoluteCoord[3];
myPoints->SetNumberOfPoints(aNumPts);