Closed pilgrim333 closed 5 years ago
Oh, I didn't realized that it still works when I set a breakpoint and then invoke in the blender window with F3. I am still curious why I got the error message and why it didn't work the first time when I run the script. Thank you for a great plugin!
The main issue is probably that the script is executed outside of any context in Blender. This extension tries to bring back some context, but can only do so in limited ways..
So this is probably not your fault, but a limitation of the current solution. Hopefully there will be a better solution in the future.
I'm trying to learn blender python API using this example:
When I do "Blender: Run Script", I get this in the console:
Do you know what I did wrong?
Thank you.