nutti / fake-bpy-module

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

mathutils.Matrix types do not implement __getitem__ #142

Closed cmbasnett closed 11 months ago

cmbasnett commented 11 months ago

System Information

Expected behavior

Accessing or assigning to Matrix objects using the [] operators should not result in type errors.

Description about the bug

Matrix does not implement __getitem__, so using the [] operator results in a typing error.

Screenshots/Files [Optional]

image

Additional comments [Optional]

nutti commented 11 months ago

This issue is now fixed.