Commit 04f16529 authored by Brian Wylie's avatar Brian Wylie

ENH: Make outline always a width of 1 no matter the line width of the edges.

parent e6b644b3
......@@ -74,7 +74,7 @@
#include <vtkstd/algorithm>
vtkCxxRevisionMacro(vtkRenderedGraphRepresentation, "1.4");
vtkCxxRevisionMacro(vtkRenderedGraphRepresentation, "1.5");
vtkStandardNewMacro(vtkRenderedGraphRepresentation);
vtkRenderedGraphRepresentation::vtkRenderedGraphRepresentation()
......@@ -1204,8 +1204,8 @@ void vtkRenderedGraphRepresentation::ApplyViewTheme(vtkViewTheme* theme)
this->VertexGlyph->SetScreenSize(baseSize);
this->VertexActor->GetProperty()->SetPointSize(baseSize);
this->OutlineGlyph->SetScreenSize(baseSize + 2);
this->OutlineActor->GetProperty()->SetPointSize(baseSize + 2*lineWidth);
this->OutlineActor->GetProperty()->SetLineWidth(lineWidth);
this->OutlineActor->GetProperty()->SetPointSize(baseSize + 2);
this->OutlineActor->GetProperty()->SetLineWidth(1);
this->EdgeActor->GetProperty()->SetLineWidth(lineWidth);
this->OutlineActor->GetProperty()->SetColor(theme->GetOutlineColor());
......
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