tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
117 stars 20 forks source link

Rerouting not working #59

Open thomgrand opened 3 years ago

thomgrand commented 3 years ago

Blender allows for an useful mechanism called Rerouting in node trees. When shift+right-click dragging across multiple links, a re-route node will be created.

figure figure

This allows you to easily replace the root node, but crashes in BVTK when updating with the error:

Error: Python: Traceback (most recent call last):
  File "[...]\Blender Foundation\Blender\2.92\scripts\addons\BVTK\converters.py", line 1986, in execute
    BVTKCache.check_cache()
  File "[...]\Blender Foundation\Blender\2.92\scripts\addons\BVTK\cache.py", line 71, in check_cache
    if n.node_id == 0:
AttributeError: 'NodeReroute' object has no attribute 'node_id'