Skip to content

Fix for issue 18408 - Arraycomponent default in vtkMapper

Kees van Kooten requested to merge kvankooten/vtk:arraycomponentfix into master

vtkMapper::SelectColorArray sets a default Arraycomponent of -1, while other parts such vtkMapper::MapScalars assume and set a default value of 0 (in case no scalar array happens to exist). This causes a vtkMapper to continuously change its MTime in ColorByArrayComponent, making it impossible to verify whether its contents have actually changed.

Fix #18408

Edited by Mathieu Westphal (Kitware)

Merge request reports