X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKViewer%2FVTKViewer_PolyDataMapper.cxx;h=aa4861f806508e25910d97ae53273c0c814f9ccb;hb=331294345d3e1716fbf79ae25a2851011729be79;hp=8071540037eae583e63a350f81af3887cded6407;hpb=a02bf230b856e127c34d5b1f7b529f0116fc4123;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_PolyDataMapper.cxx b/src/VTKViewer/VTKViewer_PolyDataMapper.cxx index 807154003..aa4861f80 100644 --- a/src/VTKViewer/VTKViewer_PolyDataMapper.cxx +++ b/src/VTKViewer/VTKViewer_PolyDataMapper.cxx @@ -265,7 +265,7 @@ void VTKViewer_PolyDataMapper::SetBallEnabled( bool theBallEnabled ) QString anAlphaTexture = getenv( "GUI_ROOT_DIR" ); anAlphaTexture.append( "/share/salome/resources/gui/sprite_alpha.vti" ); - vtkSmartPointer aTextureValue = VTK::MakeTexture( aMainTexture.toLatin1().constData(), anAlphaTexture.toLatin1().constData() ); + vtkSmartPointer aTextureValue = VTK::MakeTexture( aMainTexture.toUtf8().constData(), anAlphaTexture.toUtf8().constData() ); this->SpecialTextures[BallTextureId] = aTextureValue; } this->ImageData = this->SpecialTextures[BallTextureId];