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
6f7745de
Commit
6f7745de
authored
Oct 07, 2011
by
Dave Partyka
Committed by
Kitware Robot
Oct 07, 2011
Browse files
Merge topic 'random_mask_points_2' into pv-master
0ecabb4a
Fix debug leak of DummyController.
parents
b921193b
0ecabb4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Parallel/vtkPMaskPoints.cxx
View file @
6f7745de
...
...
@@ -16,7 +16,6 @@
#include
"vtkObjectFactory.h"
#include
"vtkMultiProcessController.h"
#include
"vtkSmartPointer.h"
#include
"vtkDummyController.h"
vtkStandardNewMacro
(
vtkPMaskPoints
);
...
...
@@ -28,10 +27,16 @@ vtkPMaskPoints::vtkPMaskPoints()
this
->
SetController
(
vtkMultiProcessController
::
GetGlobalController
());
if
(
!
this
->
Controller
)
{
this
->
SetController
(
vtkSmartPointer
<
vtkDummyController
>
::
New
());
this
->
SetController
(
vtkDummyController
::
New
());
}
}
vtkPMaskPoints
::~
vtkPMaskPoints
()
{
this
->
Controller
->
Delete
();
this
->
SetController
(
NULL
);
}
//----------------------------------------------------------------------------
void
vtkPMaskPoints
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
{
...
...
Parallel/vtkPMaskPoints.h
View file @
6f7745de
...
...
@@ -39,7 +39,7 @@ public:
protected:
vtkPMaskPoints
();
~
vtkPMaskPoints
()
{}
;
~
vtkPMaskPoints
();
virtual
void
InternalScatter
(
unsigned
long
*
,
unsigned
long
*
,
int
,
int
);
virtual
void
InternalGather
(
unsigned
long
*
,
unsigned
long
*
,
int
,
int
);
...
...
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