Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update glTF add-on imports to support Blender 4.3 #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Exairnous
Copy link
Contributor

A lot of the files in the glTF add-on were renamed to be shorter to better accommodate the path length limit in Windows for the Blender 4.3 release (KhronosGroup/glTF-Blender-IO#2331). This prevents the Behavior Graphs add-on from loading at all because some of the previous imports are no longer valid.

This PR fixes the imports and restructures the glTF add-on imports so that imports common to all versions are done first, then each Blender version range has a section for the rest of it's imports from the glTF add-on. This results in some duplication of imports, but keeps things clear and simple.

Cleanup:

  • Imports at the beginning of the file have been ordered alphabetically.
  • Imports at the beginning of the file with the format from x import y have been placed after imports with the format import x.
  • A section of imports was moved to the top of the file with the other imports.
  • A missing import for gltf2_blender_gather_nodes was added.

A lot of the files in the glTF add-on were renamed to be shorter to better accommodate the path length limit in Windows for the Blender 4.3 release (KhronosGroup/glTF-Blender-IO#2331).  This prevents the Behavior Graphs add-on from loading at all because some of the previous imports are no longer valid.

This commit fixes the imports and restructures the glTF add-on imports so that imports common to all versions are done first, then each Blender version range has a section for the rest of it's imports from the glTF add-on. This results in some duplication of imports, but keeps things clear and simple.

Cleanup:
* Imports at the beginning of the file have been ordered alphabetically.
* Imports at the beginning of the file with the format `from x import y` have been placed after imports with the format `import x`.
* A section of imports was moved to the top of the file with the other imports.
* A missing import for `gltf2_blender_gather_nodes` was added.
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