mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
|
// 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
|
||||||
|
myStructure->Graphic3d_Structure::Remove();
|
||||||
myStructure.Nullify();
|
myStructure.Nullify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user