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

Initial Blender 4.0+ support #114

Merged
merged 4 commits into from
Jul 6, 2024
Merged

Initial Blender 4.0+ support #114

merged 4 commits into from
Jul 6, 2024

Conversation

Brachi
Copy link
Owner

@Brachi Brachi commented Jul 4, 2024

Closes #76
Initial support for Blender 4.0 and above, keeping 3.6 compatibility as well.

Tests will run for bpy version 3.6 and 4.1.

Brachi added 4 commits July 4, 2024 10:39
In bpy==4.1 there's a segfault whenever any PropertyGroup class has a
method defined in it. Before a message was printed about unfreed memory
blocks.
Even if tests fail, the exitcode 1 will be overriden by 139, so for now
we are losing automatic failure detection of tests.
This is a first attempt to at least make both tests in 3.6 and 4.1 pass.
It can probably we improved further without needing to refactor all
PropertyGroup sub-classes yet.
@Brachi Brachi marked this pull request as ready for review July 5, 2024 02:46
@Brachi Brachi requested a review from HenryOfCarim July 5, 2024 02:46
Copy link
Contributor

@HenryOfCarim HenryOfCarim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, worked in 3.6 and 4.1 flawlessly

@Brachi Brachi merged commit 0efdca0 into main Jul 6, 2024
3 checks passed
@Brachi Brachi deleted the blender-4-support branch September 28, 2024 23:26
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.

Blender 4.0 support
2 participants