0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / src / IGESCAFControl / IGESCAFControl_Reader.cxx
index 635cea9..4d2e796 100644 (file)
@@ -218,7 +218,7 @@ Standard_Boolean IGESCAFControl_Reader::Transfer (Handle(TDocStd_Document) &doc)
             checkColorRange ( r );
             checkColorRange ( g );
             checkColorRange ( b );
-            col.SetValues ( 0.01*r, 0.01*g, 0.01*b, Quantity_TOC_RGB );
+            col.SetValues ( 0.01*r, 0.01*g, 0.01*b, Quantity_TOC_sRGB );
           }
         }
       }