Commit e4be1fb8 authored by Yohann Bearzi's avatar Yohann Bearzi Committed by Kitware Robot

Merge topic 'oblique-plane-test-crash-on-vall'

9d1f3651 Crash on oblique plane test on vall for htg fixed
a01e8cd9 added else if
23822337 attempt to fix vall's crash on a htg test
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !5989
parents 1de4a136 9d1f3651
......@@ -436,7 +436,7 @@ void vtkHyperTreeGridPlaneCutter::RecursivelyProcessTreePrimal( vtkHyperTreeGrid
int n = 0;
// Storage for intersection points
double points[6][3];
double points[8][3];
// Iterate over cell vertices
for ( int i = 0; i < 8; ++ i )
......@@ -473,7 +473,7 @@ void vtkHyperTreeGridPlaneCutter::RecursivelyProcessTreePrimal( vtkHyperTreeGrid
this->ReorderCutPoints( n, points );
// Storage for face vertex IDs
vtkIdType ids[6];
vtkIdType ids[8];
for ( int i = 0; i < n; ++ i )
{
// Save points and get their IDs
......@@ -678,7 +678,7 @@ void vtkHyperTreeGridPlaneCutter::RecursivelyProcessTreeDual( vtkHyperTreeGridNo
} // i
// Append new elements to existing cut element
vtkIdType ids[6];
vtkIdType ids[8];
vtkIdType nCells = pd->GetNumberOfCells();
for ( int i = 0; i < nCells; ++ i )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment