Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unicode support: correct handling of unicode on GUI level
[modules/gui.git]
/
src
/
VTKViewer
/
VTKViewer_PolyDataMapper.cxx
diff --git
a/src/VTKViewer/VTKViewer_PolyDataMapper.cxx
b/src/VTKViewer/VTKViewer_PolyDataMapper.cxx
index 8071540037eae583e63a350f81af3887cded6407..aa4861f806508e25910d97ae53273c0c814f9ccb 100644
(file)
--- 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" );
QString anAlphaTexture = getenv( "GUI_ROOT_DIR" );
anAlphaTexture.append( "/share/salome/resources/gui/sprite_alpha.vti" );
- vtkSmartPointer<vtkImageData> aTextureValue = VTK::MakeTexture( aMainTexture.to
Latin1().constData(), anAlphaTexture.toLatin1
().constData() );
+ vtkSmartPointer<vtkImageData> aTextureValue = VTK::MakeTexture( aMainTexture.to
Utf8().constData(), anAlphaTexture.toUtf8
().constData() );
this->SpecialTextures[BallTextureId] = aTextureValue;
}
this->ImageData = this->SpecialTextures[BallTextureId];
this->SpecialTextures[BallTextureId] = aTextureValue;
}
this->ImageData = this->SpecialTextures[BallTextureId];