0032121: Draw Harness, ViewerTest - implement -reset option for vlight command
[occt.git] / src / V3d / V3d_AmbientLight.cxx
index a64ee21..cce5bfc 100644 (file)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(V3d_AmbientLight, Graphic3d_CLight)
 // purpose  :
 // =======================================================================
 V3d_AmbientLight::V3d_AmbientLight (const Quantity_Color& theColor)
-: Graphic3d_CLight (Graphic3d_TOLS_AMBIENT)
+: Graphic3d_CLight (Graphic3d_TypeOfLightSource_Ambient)
 {
   SetColor (theColor);
 }