mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
The desc.Node.onCreated callback is a hook in the Node API for developers to write custom behavior on a node first initialization. By being called in the core.Node constructor, this was triggered in several situations that don't match this idea and with unpredictable side effects (graph loading, node re-creation on undo...). * Make `onNodeCreated` callback an explicit method on desc.Node. * Remove the call to node descriptor's `onNodeCreated` callback outside core.Node constructor. * Trigger this callback on explicit node creation (adding new node to graph, init a graph from a template). |
||
---|---|---|
.. | ||
nodes | ||
__init__.py | ||
conftest.py | ||
test_compatibility.py | ||
test_graph.py | ||
test_graphIO.py | ||
test_invalidation.py | ||
test_model.py | ||
test_multiviewPipeline.py | ||
test_nodeAttributeChangedCallback.py | ||
test_nodeCallbacks.py | ||
test_nodeCommandLineFormatting.py | ||
test_templatesVersion.py | ||
utils.py |