mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +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). |
||
---|---|---|
.. | ||
desc | ||
__init__.py | ||
attribute.py | ||
cgroup.py | ||
exception.py | ||
graph.py | ||
graphIO.py | ||
node.py | ||
nodeFactory.py | ||
stats.py | ||
submitter.py | ||
taskManager.py | ||
typing.py | ||
utils.py |