Skip to content

feat: Enhance node serialization and deserialization for improved compatibility#38

Open
Ni-zav wants to merge 1 commit into
Noah4ever:mainfrom
Ni-zav:main
Open

feat: Enhance node serialization and deserialization for improved compatibility#38
Ni-zav wants to merge 1 commit into
Noah4ever:mainfrom
Ni-zav:main

Conversation

@Ni-zav

@Ni-zav Ni-zav commented Jun 12, 2026

Copy link
Copy Markdown

some minor improvements and feature to serialize Compositor Nodes:

  • Implemented absolute location calculation for nodes to support Blender 4.2.
  • Added checks for the existence of RNA types to gracefully handle unsupported socket types.
  • Improved handling of Group Input/Output nodes to only serialize used sockets, reducing clutter in exported snippets.
  • Introduced functionality to compact multiple Group Input nodes into a single node for cleaner exports.
  • Enhanced error handling during node creation and socket setup to prevent crashes on unsupported types.
  • Updated the refresh function to include Compositor nodes, ensuring all node types are accounted for.
  • Added serialization for compositor File Output node slots to maintain output organization.
  • Refined the import process to manage auto-created nodes and prevent duplicates when importing payloads.

…patibility

- Implemented absolute location calculation for nodes to support Blender 4.2.
- Added checks for the existence of RNA types to gracefully handle unsupported socket types.
- Improved handling of Group Input/Output nodes to only serialize used sockets, reducing clutter in exported snippets.
- Introduced functionality to compact multiple Group Input nodes into a single node for cleaner exports.
- Enhanced error handling during node creation and socket setup to prevent crashes on unsupported types.
- Updated the refresh function to include Compositor nodes, ensuring all node types are accounted for.
- Added serialization for compositor File Output node slots to maintain output organization.
- Refined the import process to manage auto-created nodes and prevent duplicates when importing payloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant