Commit ea10de5f authored by Ken Martin's avatar Ken Martin
Browse files

wasn't working for multiple lights

parent 7c7eebee
......@@ -91,6 +91,7 @@ void vtkSbrLight::Render(vtkLight *lgt, vtkSbrRenderer *ren,int light_index)
// update the light switch
light_switch(fd, light_flag);
ren->SetLightSwitch(light_flag);
vtkDebugMacro(<< "SB_light_switch: " << light_flag << "\n");
}
......
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