WIP: GLTF: Use layout panels instead of PanelTypes #105239

Closed
Jesse Yurkovich wants to merge 1 commits from deadpin:panels-gltf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

TODO...
Reference: blender/blender#119488

TODO... Reference: blender/blender#119488
Jesse Yurkovich added 1 commit 2024-03-18 04:48:15 +01:00
Member

Hello, thanks :)

Let me know when this PR is ready.
The better workflow is to create a diff / patch or directly a PR upstream, here: https://github.com/KhronosGroup/glTF-Blender-IO

Hello, thanks :) Let me know when this PR is ready. The better workflow is to create a diff / patch or directly a PR upstream, here: https://github.com/KhronosGroup/glTF-Blender-IO
Author
Member
Closing in favor of upstream PR https://github.com/KhronosGroup/glTF-Blender-IO/pull/2193
Jesse Yurkovich closed this pull request 2024-04-05 03:04:16 +02:00
Member

Hello @deadpin
Seems we broke the user extension system with this new layout panel system.
User extension system is a way, in glTF, to add a new addon that can enhancement / change the glTF exporter.
This system allowed to register some classes that change the behavior, but also some Panel classes that add some panels in glTF exporter or importer, by setting a Panel class with bl_parent_id
This system is no more working. How can now access the operator layout to add a new layout panel ?
Here is an example of addons, with the old system : https://github.com/KhronosGroup/glTF-Blender-IO/blob/main/example-addons/example_gltf_exporter_extension/init.py

Hello @deadpin Seems we broke the user extension system with this new layout panel system. User extension system is a way, in glTF, to add a new addon that can enhancement / change the glTF exporter. This system allowed to register some classes that change the behavior, but also some Panel classes that add some panels in glTF exporter or importer, by setting a Panel class with bl_parent_id This system is no more working. How can now access the operator layout to add a new layout panel ? Here is an example of addons, with the old system : https://github.com/KhronosGroup/glTF-Blender-IO/blob/main/example-addons/example_gltf_exporter_extension/__init__.py

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105239
No description provided.