mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-27 23:00:33 +05:00
Take into account merge of branch 'asl/hydro_porting_741' in GUI module.
This commit is contained in:
parent
852ccfccc5
commit
f4bb8ea64a
@ -164,7 +164,7 @@ namespace
|
|||||||
if ( aPixmap.IsNull() ) {
|
if ( aPixmap.IsNull() ) {
|
||||||
QPixmap px(":images/default_texture.png");
|
QPixmap px(":images/default_texture.png");
|
||||||
if ( !px.isNull() )
|
if ( !px.isNull() )
|
||||||
aPixmap = imageToPixmap( px.toImage() );
|
aPixmap = OCCViewer_Utilities::imageToPixmap( px.toImage() );
|
||||||
}
|
}
|
||||||
return aPixmap;
|
return aPixmap;
|
||||||
}
|
}
|
||||||
@ -198,7 +198,7 @@ namespace
|
|||||||
if ( anImage.isNull() )
|
if ( anImage.isNull() )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
aPixmap = imageToPixmap( anImage );
|
aPixmap = OCCViewer_Utilities::imageToPixmap( anImage );
|
||||||
|
|
||||||
aPixmapCacheMap.insert( thePath, aPixmap );
|
aPixmapCacheMap.insert( thePath, aPixmap );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user