nutti / fake-bpy-module

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

Mesh has no calc_normals() function #135

Closed Road-hog123 closed 1 year ago

Road-hog123 commented 1 year ago

System Information

Expected behavior

Mesh.calc_normals() is auto-completed and passes type checks.

Actual behaviour

Cannot access member "calc_normals" for type "Mesh"
  Member "calc_normals" is unknown

flip_normals and the three split normals functions exist, but not calc_normals.

Road-hog123 commented 1 year ago

Upon further investigation the actual bug here is that I'm using fake-bpy-module-latest, which has been based on 4.0 since 3.6 moved into its' own branch at the beginning of bcon3, and calc_normals has been removed from 4.0.

I would love to install fake-bpy-module-3.5 from pypi instead, but it doesn't exist.