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 panels in Blender 4.x #36

Open
carson-katri opened this issue Nov 15, 2023 · 0 comments
Open

Support panels in Blender 4.x #36

carson-katri opened this issue Nov 15, 2023 · 0 comments

Comments

@carson-katri
Copy link
Owner

carson-katri commented Nov 15, 2023

Using the InputGroup API for this could work well.

class MyInputGroup:
  value1: Float
  value2: Bool

@tree("Test")
def test(geometry: Geometry, my_panel: MyInputGroup):
  pass
Screenshot 2023-11-15 at 6 48 28 PM

This would only be supported for InputGroups that are used as the last arguments in the signature.

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

No branches or pull requests

1 participant