mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025204: Visualization, PrsMgr_PresentationManager::Presentation() - do not return last presentation when requested one is not found
This commit is contained in:
@@ -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)();
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Reference in New Issue
Block a user