Update system - explanation
Created by: Durman
Will try to describe what is going on:
Blender update events:
- depsgraph_update_pre handler
- frame_change_post/post handler
- node_tree.update method
- node.update method
- property.update method
Sverchok update events:
- process_from_node function
- process_from_nodes function
Triggers of depsgraph_update_pre handler:
- swithch editor type
- add object in scene
- moving object in scene
❗ ️ - switch edit / object modes
- moving parts of mesh
❗ ️ - select parts of mesh
- apply mesh operators
- change of any property
- open close panels
- and so on
Reaction upon manipulation in node tree:
events | depsgraph_update_pre | node_tree.update | node.update | order |
---|---|---|---|---|
Add new node |
|
|
|
nodes, tree, handler |
Copy node |
|
|
nodes, tree | |
Dellite node |
|
|
other nodes, tree | |
Rename tree |
|
|||
Add link |
|
|
nodes, tree | |
Remove link |
|
|
current node, nodes, tree | |
Add socket to a node |
|
|||
Remove socket |
|
|||
Rename socket |
|
|||
Rename node |
|