0028726: Quantity_NameOfColor should be replaced by Quantity_Color in function input...
[occt.git] / src / V3d / V3d_AmbientLight.cxx
index 33ba1a1..7617114 100644 (file)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(V3d_AmbientLight,V3d_Light)
 // purpose  :
 // =======================================================================
 V3d_AmbientLight::V3d_AmbientLight (const Handle(V3d_Viewer)& theViewer,
-                                    const Quantity_NameOfColor theColor)
+                                    const Quantity_Color& theColor)
 : V3d_Light (theViewer)
 {
   SetType  (V3d_AMBIENT);