Commit 14e4164a authored by Ken Martin's avatar Ken Martin Committed by Cory Quammen
Browse files

Make sure the mapper is set in PVLODActor

The PVLODActor uses a Device internally that is
an actor, but it never sets the mapper on this Device
which causes incorrect results to be returned from calls
such as GetBounds on that Device.

(cherry picked from commit 37c559c0)
parent e37f667b
......@@ -133,6 +133,7 @@ void vtkPVLODActor::Render(vtkRenderer* ren, vtkMapper* vtkNotUsed(m))
// We might want to estimate time from the number of polygons in mapper.
vtkInformation* info = this->GetPropertyKeys();
this->Device->SetPropertyKeys(info);
this->Device->SetMapper(mapper);
this->Device->Render(ren, mapper);
if (this->Texture)
{
......
Supports Markdown
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