Skip to content
Snippets Groups Projects
Commit 2945af89 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkDistanceRepresentation3D: simplify conditional

parent f66efa90
No related branches found
No related tags found
No related merge requests found
......@@ -429,10 +429,7 @@ void vtkDistanceRepresentation3D::SetLabelPosition(double labelPosition)
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting LabelPosition to "
<< labelPosition);
if (this->LabelPosition == labelPosition)
{
}
else
if (this->LabelPosition != labelPosition)
{
this->LabelPosition = labelPosition;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment