Skip to content

An Imported Material Group Node Can't be Exported Again #146

@Vollkornaffe

Description

@Vollkornaffe

An assertion in the recursive sub-tree collection algorithm fails.
This is because the material's node tree is always called "Shader Nodetree", and the imported tree conflicts with it.

The error message is this:

Python: Traceback (most recent call last):
  File "/home/lars/.config/blender/5.0/extensions/vscode_development/tree_clipper_addon/operators_export.py", line 41, in invoke
    return self.execute(context)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/lars/.config/blender/5.0/extensions/vscode_development/tree_clipper_addon/operators_export.py", line 47, in execute
    _INTERMEDIATE_EXPORT_CACHE = ExportIntermediate(
                                 ^^^^^^^^^^^^^^^^^^^
  File "/home/lars/.config/blender/5.0/extensions/vscode_development/tree_clipper_addon/_vendor/tree_clipper/export_nodes.py", line 620, in __init__
    _collect_sub_trees(current=root, trees=trees, from_root=from_root)
  File "/home/lars/.config/blender/5.0/extensions/vscode_development/tree_clipper_addon/_vendor/tree_clipper/export_nodes.py", line 536, in _collect_sub_trees
    assert all(current.name != already_in[0].name for already_in in trees)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
2026-01-18.12-46-00.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions