for (; It.More(); It.Next()) {
Handle(SALOME_InteractiveObject)& anIO = It.Value();
std::vector<VISU::Prs3d_i*> aPrsList = GetPrs3dList(this, anIO, true);
+
+ if ( aPrsList.empty() ) {
+ if (anIO->hasEntry()) {
+ SalomeApp_Study* aStudy = VISU::GetAppStudy(this);
+ QString anEntry(anIO->getEntry());
+ VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, anEntry.toLatin1().constData());
+ if ( VISU::Prs3d_i* aPrsObject = VISU::GetPrs3dFromBase(anObjectInfo.myBase) )
+ aPrsList.push_back(aPrsObject);
+ }
+ }
+
if ( aPrsList.size()>0 ) {
for (int i = 0, n = aPrsList.size(); i < n; i++) {
VISU::Prs3d_i* aPrsObject = aPrsList[i];