mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024466: Visualization - PrsMgr_Presentation3d::Erase() now leads to incomplete destruction of Graphic3d_Structure
This commit is contained in:
parent
4e7bb26301
commit
5396d9ca17
@ -72,6 +72,7 @@ void PrsMgr_Presentation3d::Erase ()
|
|||||||
{
|
{
|
||||||
// Erase structure from structure manager
|
// Erase structure from structure manager
|
||||||
myStructure->Erase();
|
myStructure->Erase();
|
||||||
|
myStructure->Clear();
|
||||||
// Disconnect other structures
|
// Disconnect other structures
|
||||||
myStructure->DisconnectAll (Graphic3d_TOC_DESCENDANT);
|
myStructure->DisconnectAll (Graphic3d_TOC_DESCENDANT);
|
||||||
// Clear groups and remove graphic structure
|
// Clear groups and remove graphic structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user