mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0025204: Visualization, PrsMgr_PresentationManager::Presentation() - do not return last presentation when requested one is not found
This commit is contained in:
parent
6aa39ac3ad
commit
0179bbc641
@ -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)();
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user