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
Add defaults to keyword arguments in bmesh
#118
Comments
It is difficult to handle because fake-bpy-module will not check the source. |
This code generates the doc itself.
Could you share your idea if you have an idea to get the default value from blender source? |
@nutti https://developer.blender.org/D16400 adds the defaults to the docs |
Great! |
@nutti How did you get someone from Blender to review your diffs? I've tried the devtalk forum and blender.chat but didn't get any traction on the diff so far. |
I'm not sure when Blender developer reviews the patch. |
The patch is now merged to the official repo. |
Description
All
bmesh.ops
take one required argument and all other arguments have defaults. This is not specified in the docs in type signatures but maybe we could special case it? The defaults can be found in the blender source (usually it's a 0, false, but for example for matrices it's Identity).Are you willing to contribute about this feature. (Yes/No)
Yes, with some guidance
Screenshots [Optional]
Not having this leads to incorrect type errors:
The text was updated successfully, but these errors were encountered: