nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.35k stars 96 forks source link

For operators, first unnamed parameter for custom context should be defined #103

Closed anatawa12 closed 2 years ago

anatawa12 commented 2 years ago

System Information

Expected behavior
The behavior you expect about the feature you reported.

bpy.ops.object.mode_set(bpy.context, mode='OBJECT')

Casuse no type errors

Description about the bug
The description about the bug. For all operators, there's a context parameter as the first parameter. see Keywords and Positional Arguments

Screenshots/Files [Optional]
It is good to solve the bug if you attach the screenshots or .blend file.

Additional comments [Optional]

nutti commented 2 years ago

This issue is now fixed. Fixed version will be included in next release.