0028726: Quantity_NameOfColor should be replaced by Quantity_Color in function input...
[occt.git] / src / V3d / V3d_AmbientLight.hxx
index d312069..72451ec 100644 (file)
@@ -32,7 +32,7 @@ public:
   //! Constructs an ambient light source in the viewer.
   //! The default Color of this light source is WHITE.
   Standard_EXPORT V3d_AmbientLight (const Handle(V3d_Viewer)& theViewer,
-                                    const Quantity_NameOfColor theColor = Quantity_NOC_WHITE);
+                                    const Quantity_Color& theColor = Quantity_NOC_WHITE);
 
   DEFINE_STANDARD_RTTIEXT(V3d_AmbientLight,V3d_Light)
 };