Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some corrections related to using UNICODE.
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Displayer.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_Displayer.cxx
b/src/SMESHGUI/SMESHGUI_Displayer.cxx
index 633d9196abbb7570e76281e887a010e33ca567a0..eb9852486164194e6bfae9d9e91880ab965e2406 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Displayer.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Displayer.cxx
@@
-66,13
+66,13
@@
SALOME_Prs* SMESHGUI_Displayer::buildPresentation( const QString& entry, SALOME_
if( vtk_viewer )
{
SUIT_ViewWindow* wnd = vtk_viewer->getViewManager()->getActiveView();
if( vtk_viewer )
{
SUIT_ViewWindow* wnd = vtk_viewer->getViewManager()->getActiveView();
- SMESH_Actor* anActor = SMESH::FindActorByEntry( wnd, entry.to
Latin1
().data() );
+ SMESH_Actor* anActor = SMESH::FindActorByEntry( wnd, entry.to
Utf8
().data() );
if( !anActor )
if( !anActor )
- anActor = SMESH::CreateActor( entry.to
Latin1
().data(), true );
+ anActor = SMESH::CreateActor( entry.to
Utf8
().data(), true );
if( anActor )
{
SMESH::DisplayActor( wnd, anActor );
if( anActor )
{
SMESH::DisplayActor( wnd, anActor );
- prs = LightApp_Displayer::buildPresentation( entry.to
Latin1
().data(), aViewFrame );
+ prs = LightApp_Displayer::buildPresentation( entry.to
Utf8
().data(), aViewFrame );
}
if( prs )
UpdatePrs( prs );
}
if( prs )
UpdatePrs( prs );
@@
-94,7
+94,7
@@
bool SMESHGUI_Displayer::canBeDisplayed( const QString& entry, const QString& vi
if(viewer_type != SVTK_Viewer::Type())
return res;
if(viewer_type != SVTK_Viewer::Type())
return res;
- _PTR(SObject) obj = SMESH::getStudy()->FindObjectID( (const char*)entry.to
Latin1
() );
+ _PTR(SObject) obj = SMESH::getStudy()->FindObjectID( (const char*)entry.to
Utf8
() );
CORBA::Object_var anObj = SMESH::SObjectToObject( obj );
/*
CORBA::Object_var anObj = SMESH::SObjectToObject( obj );
/*