--------------------------------- EditorToolNode::d-tor
| 60 | // EditorToolNode::d-tor |
| 61 | // |
| 62 | EditorToolNode::~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 |
nothing calls this directly
no outgoing calls
no test coverage detected