nutti / fake-bpy-module

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

Some child classes copy from parent instead of inheriting #285

Closed Road-hog123 closed 4 months ago

Road-hog123 commented 4 months ago

In scripts/modules/bpy_types.py, Menu is defined with a method path_menu() whose docstring starts Populate a menu from a list of paths. If you search that string in the generated modules you'll find 583 results because 582 classes that should inherit from Menu instead have a copy of the method.

nutti commented 4 months ago

Fixed this. Classes in the external modules also copied other methods.