Fix T90845: Add missing geometry node type

Ref D13841
This commit is contained in:
Oliver Reischl 2022-02-17 17:32:56 +11:00 committed by Campbell Barton
parent f66ad054cf
commit e56895f5e4
Notes: blender-bot 2023-02-14 18:32:33 +01:00
Referenced by issue blender/blender#88449: Blender LTS: Maintenance Task 2.93
Referenced by issue blender/blender#88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #96022, Node Presets addon missing GeometryNodeGroup definition to work with geometry nodes
Referenced by issue #95556, Error when adding someone else's Geometric node.
Referenced by issue #90845, Node Preset Addon crashes when used with Geometry Nodes
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def node_template_add(context, filepath, node_group, ungroup, report):
"ShaderNodeTree": "ShaderNodeGroup",
"CompositorNodeTree": "CompositorNodeGroup",
"TextureNodeTree": "TextureNodeGroup",
"GeometryNodeTree": "GeometryNodeGroup",
}[type(node_tree).__name__]
node = node_tree.nodes.new(type=node_type_string)