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
/
OCCViewer
/
OCCViewer_ViewPort3d.cxx
diff --git
a/src/OCCViewer/OCCViewer_ViewPort3d.cxx
b/src/OCCViewer/OCCViewer_ViewPort3d.cxx
index cdf1edfe98781c1d2aaa752d5d7a6589a12f2d45..73f89e2137839f024228ee8851d135612ebcb3ff 100755
(executable)
--- a/
src/OCCViewer/OCCViewer_ViewPort3d.cxx
+++ b/
src/OCCViewer/OCCViewer_ViewPort3d.cxx
@@
-358,13
+358,13
@@
void OCCViewer_ViewPort3d::updateBackground()
// set texture image: file name and fill mode
switch ( textureMode ) {
case Qtx::CenterTexture:
// set texture image: file name and fill mode
switch ( textureMode ) {
case Qtx::CenterTexture:
- activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Latin1
().constData(), Aspect_FM_CENTERED );
+ activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Utf8
().constData(), Aspect_FM_CENTERED );
break;
case Qtx::TileTexture:
break;
case Qtx::TileTexture:
- activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Latin1
().constData(), Aspect_FM_TILED );
+ activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Utf8
().constData(), Aspect_FM_TILED );
break;
case Qtx::StretchTexture:
break;
case Qtx::StretchTexture:
- activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Latin1
().constData(), Aspect_FM_STRETCH );
+ activeView()->SetBackgroundImage( fi.absoluteFilePath().to
Utf8
().constData(), Aspect_FM_STRETCH );
break;
default:
break;
break;
default:
break;