Salome HOME
projects
/
modules
/
visu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug PAL9160 ( No shading on visualizations ).
[modules/visu.git]
/
src
/
VISUGUI
/
VisuGUI_StreamLinesDlg.cxx
diff --git
a/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx
b/src/VISUGUI/VisuGUI_StreamLinesDlg.cxx
index 9f554b33098244fffa231514c6d565486206eae3..904f438dcc34caa4fb152907c73685f6191b9b2c 100644
(file)
--- a/
src/VISUGUI/VisuGUI_StreamLinesDlg.cxx
+++ b/
src/VISUGUI/VisuGUI_StreamLinesDlg.cxx
@@
-31,7
+31,6
@@
#include "SALOME_ListIO.hxx"
#include <SALOMEDSClient_SObject.hxx>
#include "SALOME_ListIO.hxx"
#include <SALOMEDSClient_SObject.hxx>
-#include <SALOMEDS_SObject.hxx>
#include <limits.h>
#include <qlayout.h>
#include <limits.h>
#include <qlayout.h>
@@
-117,7
+116,7
@@
VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule)
_PTR(GenericAttribute) anAttr;
if (aChildSObj->FindAttribute(anAttr, "AttributeName")) {
_PTR(AttributeName) aName (anAttr);
_PTR(GenericAttribute) anAttr;
if (aChildSObj->FindAttribute(anAttr, "AttributeName")) {
_PTR(AttributeName) aName (anAttr);
- myPrsLst += QString(aName->Value());
+ myPrsLst += QString(aName->Value()
.c_str()
);
myPrsList.append(aPrsObj);
continue;
}
myPrsList.append(aPrsObj);
continue;
}
@@
-142,15
+141,15
@@
VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule)
VISU::Prs3d_var aPrsObj = VISU::Prs3d::_narrow(aChildObject);
switch (aType) {
case VISU::TFAMILY:
VISU::Prs3d_var aPrsObj = VISU::Prs3d::_narrow(aChildObject);
switch (aType) {
case VISU::TFAMILY:
- myFamilisLst += QString(aName->Value());
+ myFamilisLst += QString(aName->Value()
.c_str()
);
myFamilyList.append(aPrsObj);
break;
case VISU::TGROUP:
myFamilyList.append(aPrsObj);
break;
case VISU::TGROUP:
- myGroupsLst += QString(aName->Value());
+ myGroupsLst += QString(aName->Value()
.c_str()
);
myGroupList.append(aPrsObj);
break;
case VISU::TENTITY:
myGroupList.append(aPrsObj);
break;
case VISU::TENTITY:
- myEntitiesLst += QString(aName->Value());
+ myEntitiesLst += QString(aName->Value()
.c_str()
);
myEntityList.append(aPrsObj);
break;
}
myEntityList.append(aPrsObj);
break;
}