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
Christian Butz
VTK
Commits
6ffabd65
Commit
6ffabd65
authored
Apr 02, 2004
by
Charles Law
Browse files
Fix bug with appending points with no cells.
parent
c3306fb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Graphics/vtkAppendFilter.cxx
View file @
6ffabd65
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "vtkPointData.h"
#include "vtkPointData.h"
#include "vtkUnstructuredGrid.h"
#include "vtkUnstructuredGrid.h"
vtkCxxRevisionMacro
(
vtkAppendFilter
,
"1.6
5
"
);
vtkCxxRevisionMacro
(
vtkAppendFilter
,
"1.6
6
"
);
vtkStandardNewMacro
(
vtkAppendFilter
);
vtkStandardNewMacro
(
vtkAppendFilter
);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
...
@@ -196,7 +196,7 @@ void vtkAppendFilter::Execute()
...
@@ -196,7 +196,7 @@ void vtkAppendFilter::Execute()
for
(
idx
=
0
;
idx
<
this
->
NumberOfInputs
&&
!
abort
;
++
idx
)
for
(
idx
=
0
;
idx
<
this
->
NumberOfInputs
&&
!
abort
;
++
idx
)
{
{
ds
=
(
vtkDataSet
*
)(
this
->
Inputs
[
idx
]);
ds
=
(
vtkDataSet
*
)(
this
->
Inputs
[
idx
]);
if
(
ds
->
GetNumberOfPoints
()
>
0
&&
ds
->
GetNumberOfCells
()
>
0
)
if
(
ds
->
GetNumberOfPoints
()
>
0
||
ds
->
GetNumberOfCells
()
>
0
)
{
{
if
(
ds
!=
NULL
)
if
(
ds
!=
NULL
)
{
{
...
...
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