MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onNodesCleared

Method onNodesCleared

Gui/NodeGraph.cpp:255–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void
256NodeGraph::onNodesCleared()
257{
258 {
259 QMutexLocker l(&_imp->_nodesMutex);
260 _imp->_nodes.clear();
261 _imp->_nodesTrash.clear();
262 }
263
264 _imp->_selection.clear();
265 _imp->_magnifiedNode.reset();
266 _imp->_undoStack->clear();
267}
268
269void
270NodeGraph::resizeEvent(QResizeEvent* e)

Callers 1

clearNodesInternalMethod · 0.80

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected