Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
8a23675b
Commit
8a23675b
authored
Jan 26, 2015
by
Joachim Pouderoux
Committed by
Code Review
Jan 26, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'AllowEmptyCellsInXMLReader' into master
ce953409
Small fixes to allow empty cells.
parents
c9f37a26
ce953409
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Filters/Core/vtkTriangleFilter.cxx
Filters/Core/vtkTriangleFilter.cxx
+4
-0
IO/XML/vtkXMLUnstructuredDataReader.cxx
IO/XML/vtkXMLUnstructuredDataReader.cxx
+1
-1
No files found.
Filters/Core/vtkTriangleFilter.cxx
View file @
8a23675b
...
...
@@ -157,6 +157,10 @@ int vtkTriangleFilter::RequestData(
this
->
UpdateProgress
((
float
)
cellNum
/
numCells
);
abort
=
this
->
GetAbortExecute
();
}
if
(
npts
==
0
)
{
continue
;
}
if
(
npts
==
3
)
{
newPolys
->
InsertNextCell
(
3
,
pts
);
...
...
IO/XML/vtkXMLUnstructuredDataReader.cxx
View file @
8a23675b
...
...
@@ -601,7 +601,7 @@ int vtkXMLUnstructuredDataReader::ReadCellArray(vtkIdType numberOfCells,
vtkIdType
i
;
for
(
i
=
0
;
i
<
numberOfCells
;
++
i
)
{
if
(
coffset
[
i
]
<
=
lastOffset
)
if
(
coffset
[
i
]
<
lastOffset
)
{
vtkErrorMacro
(
"Cannot read cell connectivity from "
<<
eCells
->
GetName
()
<<
" in piece "
<<
this
->
Piece
...
...
Write
Preview
Markdown
is supported
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