-
Notifications
You must be signed in to change notification settings - Fork 75
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
Code snippet works in Blender's text editor, but does not with blender_vscode #134
Comments
answer here: https://community.osarch.org/discussion/comment/12806/#Comment_12806 Not sure if blender_vscode wants to accommodate for this, or not. |
I just ran into this myself. I thought my install was broken somehow, but I was just running all of my code underneath an
I have no preference if this should be supported, it would be nice, but it is a pitfall currently. I'm not sure if something in the vs code landing page should mention this. The blender script window supports this but vscode won't since it's communicating through a local server. |
There is a solution for this 😊 As mentioned in the doc:
The doc seems to be missing a reminder that you need to add the bl_info dictionary at the top of your
I have a fix for the original code if you want to run it with the here is a video showing the fix |
Thanks for pointing that out. My naive understanding was that part of the doc wasn't for me since I wasn't developing an extension. I'm using a script outside and the blender python api to generate diagrams and figures. I didn't have an intention of using it from within blender so I didn't structure things as an add on. That all makes sense now. |
The following code doesn't work with blender_vscode, but it does work with Blender's native text editor.
The script runs in blender_vscode, and there are no errors, but the panel doesn't show up.
Any ideas what I'm missing?
The text was updated successfully, but these errors were encountered: