Closed Road-hog123 closed 1 month ago
@Road-hog123
Thank you for your contribution! If this PR is ready, please remove WIP status.
Together with #122374 - PyAPI Doc: improve BMesh typing most issues with BMesh should be fixed. 👍
@Road-hog123
Thank you for your effort to fix the issue!
BMIter
was not being used as iterable return type.BMLayerCollection
'sget()
method now has a return type.__getitem__()
,__setitem__()
and__delitem__()
toBMVert
,BMEdge
,BMLoop
andBMFace
.*Fixes #179
*Presently these methods get/set
Any
—to fix thisBMLayerItem
needs to be made generic (trivial), but that generic type needs to come fromBMLayerCollection
which also needs to be made generic, which involves modding all of its methods and uses (non-trivial), and I don't think it's currently possible to bind that generic type toBMLayerItem
(but it might be after #161's work on PEP 695 is implemented?).