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
VTK
VTK
Commits
a771d8de
Commit
a771d8de
authored
Aug 09, 2004
by
Ken Martin
Browse files
fix segfault
parent
df86f69e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Common/vtkTableExtentTranslator.cxx
View file @
a771d8de
...
...
@@ -15,7 +15,7 @@
#include "vtkTableExtentTranslator.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro
(
vtkTableExtentTranslator
,
"1.
7
"
);
vtkCxxRevisionMacro
(
vtkTableExtentTranslator
,
"1.
8
"
);
vtkStandardNewMacro
(
vtkTableExtentTranslator
);
//----------------------------------------------------------------------------
...
...
@@ -181,6 +181,7 @@ void vtkTableExtentTranslator::SetPieceAvailable(int piece, int available)
(
piece
>=
this
->
NumberOfPiecesInTable
))
{
vtkErrorMacro
(
"Piece "
<<
piece
<<
" does not exist."
);
return
;
}
this
->
PieceAvailable
[
piece
]
=
available
?
1
:
0
;
}
...
...
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