nutti / fake-bpy-module

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

bpy.types.Context.active_object can be None #155

Closed JonathanPlasse closed 4 months ago

JonathanPlasse commented 9 months ago

bpy.types.Context.active_object type should be Optional[Object] instead of Object only. In general, I think that all active property could be optional. bpy.types.Object.active_material should also be optional.

nutti commented 4 months ago

This issue is resolved now.