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

Add custom version of fake_bpy_modules to the project #114

Merged
merged 64 commits into from
Jun 22, 2024
Merged

Conversation

Nusiq
Copy link
Owner

@Nusiq Nusiq commented Jun 22, 2024

This PR adds a custom version of the Fake BPY Module to the project. The stub module has been modified to fix some of the inaccuracies of the original and to fit the needs of Mcblend.

This PR closes #113

Nusiq added 30 commits June 13, 2024 07:12
- Renamed the stub files to use the .pyi extension instead of .py (somehow it helps the linter with parsing the files)
- Moved the modules of the 'bpy' package to their own packages (subpackages of 'bpy'). Stops pyright from complaining about 'invalid' imports.
- Adjusted the pyproject toml to include fake-bpy-module packages relevant for the Mcblend project.
…y_access. Improved the __matmul__ implementations for 'Matrix', 'Vector' and 'Quaternion' from mathutils.
…rts of code that use 'context.active_object' to 'context.object'
Nusiq added 28 commits June 16, 2024 21:10
…ties. Now they work directly with the objects that contain these properties.
@Nusiq Nusiq merged commit 849ea5b into master Jun 22, 2024
1 check passed
@Nusiq Nusiq deleted the stub-files branch June 22, 2024 08:53
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.

Create custom bpy stub module
1 participant