Commit d93ad837 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Killing a VS performance warning

Change-Id: Ifc88b381d2118771a6c9045a37543be0a1ff0f09
parent e35483eb
......@@ -180,7 +180,7 @@ vtkScalarBarActor::vtkScalarBarActor()
this->FrameActor->SetMapper(this->FrameMapper);
this->FrameActor->GetPositionCoordinate()->SetReferenceCoordinate(this->PositionCoordinate);
this->EnhancedMode = false;
this->EnhancedMode = 0;
}
//----------------------------------------------------------------------------
......
......@@ -284,7 +284,7 @@ protected:
vtkPolyDataMapper2D *FrameMapper;
vtkActor2D *FrameActor;
bool EnhancedMode;
int EnhancedMode;
private:
vtkScalarBarActor(const vtkScalarBarActor&); // Not implemented.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment