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

Support Blender 3.x and 4.x #35

Merged
merged 3 commits into from
Nov 17, 2023
Merged

Support Blender 3.x and 4.x #35

merged 3 commits into from
Nov 17, 2023

Conversation

carson-katri
Copy link
Owner

This adds a simple 4.x check for accessing inputs/outputs.

I've also made changes to the store helper to support passing a custom domain.

Copy link

PR Preview Action v1.4.4
🚀 Deployed preview to https://carson-katri.github.io/geometry-script/pr-preview/pr-35/
on branch gh-pages at 2023-11-15 23:45 UTC

@alphadito
Copy link
Contributor

There's one more version check needed here.

if IS_BLENDER_4:
  result = geometrynodegroup(node_tree=node_group, *args, **kwargs)
else:
  result = group(node_tree=node_group, *args, **kwargs)

@carson-katri
Copy link
Owner Author

Good catch, thanks

@carson-katri carson-katri merged commit 8a1b4c4 into main Nov 17, 2023
1 check passed
@carson-katri carson-katri deleted the api-enhancements branch November 17, 2023 18:45
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.

2 participants