Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
debian
VTK
Commits
e181456d
Commit
e181456d
authored
Jul 06, 2016
by
Will Schroeder
Browse files
Fixed overrrun issue former MR 1120
parent
26be68fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Filters/Core/vtkFlyingEdges3D.cxx
View file @
e181456d
...
...
@@ -1080,13 +1080,16 @@ GenerateOutput(double value, T* rowPtr, vtkIdType row, vtkIdType slice)
this
->
AdvanceVoxelIds
(
eCase
,
eIds
);
}
// advance along voxel row
ePtr
[
0
]
++
;
ePtr
[
1
]
++
;
ePtr
[
2
]
++
;
ePtr
[
3
]
++
;
eCase
=
this
->
GetEdgeCase
(
ePtr
);
// advance along voxel row if not at the end
if
(
i
<
dim0Wall
)
{
ePtr
[
0
]
++
;
ePtr
[
1
]
++
;
ePtr
[
2
]
++
;
ePtr
[
3
]
++
;
eCase
=
this
->
GetEdgeCase
(
ePtr
);
++
ijk
[
0
];
sPtr
+=
incs
[
0
];
x
[
0
]
+=
xSpace
;
++
ijk
[
0
];
sPtr
+=
incs
[
0
];
x
[
0
]
+=
xSpace
;
}
//if not at end of voxel row
}
//for all non-trimmed cells along this x-edge
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment