nutti / fake-bpy-module

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

Some child classes copy from parent instead of inheriting #285

Closed Road-hog123 closed 1 week ago

Road-hog123 commented 3 weeks 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 1 week ago

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