mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Visualization, PrsMgr_Presentation - remove graphic structure before nullify [OCCT 7.2.0 backport]
This commit is contained in:
parent
c23d6ec61f
commit
b453701e1f
@ -110,6 +110,7 @@ void PrsMgr_Presentation::Erase()
|
||||
// Disconnect other structures
|
||||
myStructure->DisconnectAll (Graphic3d_TOC_DESCENDANT);
|
||||
// Clear groups and remove graphic structure
|
||||
myStructure->Graphic3d_Structure::Remove();
|
||||
myStructure.Nullify();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user