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

Huge file renaming #2331

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Huge file renaming #2331

merged 2 commits into from
Aug 30, 2024

Conversation

julienduroure
Copy link
Collaborator

Very long path can be problematic when unziping on Windows

Very long path can be problematic when unziping on Windows
@julienduroure julienduroure merged commit 6244491 into main Aug 30, 2024
2 checks passed
Exairnous added a commit to Hubs-Foundation/hubs-blender-exporter that referenced this pull request Dec 22, 2024
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 Hubs add-on from loading at all because many 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 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:
* Several imports from the same file have been combined into a single import.
* Imports at the beginning of the file have been ordered alphabetically (mostly).
* Imports at the beginning of the file with the format `from x import y` have been placed after imports with the format `import x`.
* One of the`BLACK_LIST` imports has been moved to the top of its function to be more readable with its increase in complexity.
* Added a comment to describe why `BLACK_LIST` is imported in a function instead of at the beginning of the file.
Exairnous added a commit to Hubs-Foundation/blender-gltf-behavior-graph that referenced this pull request Dec 30, 2024
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.
Exairnous added a commit to Hubs-Foundation/blender-gltf-behavior-graph that referenced this pull request Dec 30, 2024
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