MCPcopy Create free account
hub / github.com/Illation/ETEngine / ~EditorToolNode

Method ~EditorToolNode

Engine/source/EtEditor/Layout/EditorToolNode.cpp:62–83  ·  view source on GitHub ↗

--------------------------------- EditorToolNode::d-tor

Source from the content-addressed store, hash-verified

60// EditorToolNode::d-tor
61//
62EditorToolNode::~EditorToolNode()
63{
64 if (m_Tool != nullptr)
65 {
66 DestroyTool();
67 }
68
69 if (m_Overlay != nullptr && m_Overlay->get_parent() != nullptr)
70 {
71 delete m_Overlay; // should also delete other managed wdigets
72 }
73
74 if (m_ToolbarEventBox != nullptr && !m_IsToolbarVisible)
75 {
76 delete m_ToolbarEventBox;
77 }
78
79 if (m_ToolbarUnhide != nullptr && m_IsToolbarVisible)
80 {
81 delete m_ToolbarUnhide;
82 }
83}
84
85//---------------------------------
86// EditorToolNode::InitInternal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected