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:
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 Handle(PrsMgr_Presentation)();
|
|
||||||
return aPrsList.Last().Presentation();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// =======================================================================
|
// =======================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user