Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ecpcitest
vtk-m
Commits
894d8b76
Commit
894d8b76
authored
Sep 05, 2006
by
Mathieu Malaterre
Browse files
BUG: Fix Bug #3690 - An error in function: vtkFieldData::AllocateArrays(int nSize)
parent
8357a064
Changes
1
Hide whitespace changes
Inline
Side-by-side
Filtering/vtkFieldData.cxx
View file @
894d8b76
...
...
@@ -17,7 +17,7 @@
#include "vtkObjectFactory.h"
#include "vtkIdList.h"
vtkCxxRevisionMacro
(
vtkFieldData
,
"1.2.6.
1
"
);
vtkCxxRevisionMacro
(
vtkFieldData
,
"1.2.6.
2
"
);
vtkStandardNewMacro
(
vtkFieldData
);
//----------------------------------------------------------------------------
...
...
@@ -296,7 +296,10 @@ void vtkFieldData::AllocateArrays(int num)
{
for
(
i
=
num
;
i
<
this
->
NumberOfArrays
;
i
++
)
{
this
->
Data
[
i
]
->
UnRegister
(
this
);
if
(
this
->
Data
[
i
]
)
{
this
->
Data
[
i
]
->
UnRegister
(
this
);
}
}
this
->
NumberOfArrays
=
num
;
}
...
...
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