Skip to content

BUG: Glyph3DMapper get method returns incorrect string

Bill Lorensen requested to merge lorensen/vtk:Bug_Glyph3DMapper into master

vtkGlyph3DMapper::GetOrientationModeAsString() does not check for vtkGlyph3DMapper::ROTATION. Rather it checks for vtkGlyph3DMapper::ORIENTATION which is not one of the valid settings.

glyph->SetOrientationModeToRotation() followed by glyph->GetOrientationModeAsString() returns "Invalid" rather than "Rotation".

Reported by user Andrea Vagana.

Merge request reports

Loading