Fix compatibility for frames and reroutes
This commit is contained in:
parent
82c7302dd9
commit
af520b518e
|
@ -294,6 +294,9 @@ def node_compat_sdk2108():
|
||||||
if not node.__class__.is_registered_node_type():
|
if not node.__class__.is_registered_node_type():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if node.type in ('FRAME', 'REROUTE'):
|
||||||
|
continue
|
||||||
|
|
||||||
newnode = tree.nodes.new(node.__class__.bl_idname)
|
newnode = tree.nodes.new(node.__class__.bl_idname)
|
||||||
|
|
||||||
newnode.parent = node.parent
|
newnode.parent = node.parent
|
||||||
|
|
Loading…
Reference in a new issue