1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0025204: Visualization, PrsMgr_PresentationManager::Presentation() - do not return last presentation when requested one is not found

This commit is contained in:
kgv 2014-09-10 08:57:30 +04:00 committed by bugmaster
parent 6aa39ac3ad
commit 0179bbc641

View File

@ -424,9 +424,7 @@ Handle(PrsMgr_Presentation) PrsMgr_PresentationManager::Presentation (const Hand
}
}
// To be changed within dedicated patch
///return Handle(PrsMgr_Presentation)();
return aPrsList.Last().Presentation();
return Handle(PrsMgr_Presentation)();
}
// =======================================================================