0024322: TKOpenGl - light sources management inconsistency
[occt.git] / src / Visual3d / Visual3d_View.cxx
index ecdce08..cdf2c5a 100755 (executable)
@@ -730,6 +730,7 @@ void Visual3d_View::UpdateLights()
                                        MyGraphicDriver->InquireLightLimit());
   if (MyCView.Context.NbActiveLight < 1)
   {
+    MyGraphicDriver->SetLight (MyCView);
     return;
   }