Salome HOME
Merge branch 'asl/hydro_porting_741'
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewModel.cxx
index e55694dc8ce1656fac5bd731721d9fe9ca06b051..64e558564f96c8a5acfbaad70984d93c67b91ce4 100755 (executable)
@@ -1015,7 +1015,7 @@ Handle(Graphic3d_ClipPlane) OCCViewer_Viewer::createClipPlane(const gp_Pln& theP
   // load capping texture
   QPixmap px( ":images/hatch.png" );
   if( !px.isNull() ) {
-    const Handle(Image_PixMap) aPixmap = imageToPixmap( px.toImage() );
+    const Handle(Image_PixMap) aPixmap = OCCViewer_Utilities::imageToPixmap( px.toImage() );
     Handle(Graphic3d_Texture2Dmanual) aTexture = new Graphic3d_Texture2Dmanual( aPixmap );
     if( aTexture->IsDone() ) {
       aTexture->EnableModulate();