-
Notifications
You must be signed in to change notification settings - Fork 27
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
Failure to run the simulation_zone example on blender 4.0 (and 3.6) #41
Comments
I tried to figure out in your code why the state's current node tree wasn't defined but I'm still trying to figure things out. I also tried to make it work with blender 3.6 and your commit that refactors simulation API to use "simulation_zone" but it didn't work either, with a similar error message, ie missing attribute 'nodes' in current_node_tree. |
I cannot try the example (I am on Blender 3.6, on newer Blender my graphic card is not supported), but looking at the code, especially the signature of |
yes, I tried adding that first argument but it didn't change anything. It looks like the simulation code tries to access the tree while it hasn't been built. I'm trying to understand all the code but I need to read about blender's api now |
Make sure the geometry script add-on folder is called 'geometry_script'. This will ensure that the correct state module is used instead of relying on |
Yesss ! It worked. Thank you so much |
Hello,
I'm starting from the default cube on which I add a geometry node modifier,
I then type the following script (from the documentation) in the built-in editor :
I get the following error message :
(my OS is windows 10)
The text was updated successfully, but these errors were encountered: