Commit 58b5d5d7 authored by Dave DeMarle's avatar Dave DeMarle
Browse files

fix compilation warnings

parent 8bc5f126
......@@ -217,13 +217,12 @@ void vtkSmartVolumeMapper::Render( vtkRenderer *ren, vtkVolume *vol )
usedMapper->Render(ren, vol);
break;
case vtkSmartVolumeMapper::OSPRayRenderMode:
{
if (!this->OSPRayMapper)
{
this->OSPRayMapper = vtkOSPRayVolumeInterface::New();
}
this->OSPRayMapper->Render(ren, vol);
}
break;
case vtkSmartVolumeMapper::InvalidRenderMode:
// Silently fail - a render mode that is not
// valid was selected so we will render nothing
......
......@@ -214,13 +214,12 @@ void vtkSmartVolumeMapper::Render( vtkRenderer *ren, vtkVolume *vol )
usedMapper->Render(ren, vol);
break;
case vtkSmartVolumeMapper::OSPRayRenderMode:
{
if (!this->OSPRayMapper)
{
this->OSPRayMapper = vtkOSPRayVolumeInterface::New();
}
this->OSPRayMapper->Render(ren, vol);
}
break;
case vtkSmartVolumeMapper::InvalidRenderMode:
// Silently fail - a render mode that is not
// valid was selected so we will render nothing
......
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