Blender Git Loki

Git Commits -> Revision 79840ab

Revision 79840ab by Campbell Barton (master)
October 8, 2020, 06:45 (GMT)
PyAPI: use real modules for bpy.ops

Python 3.7x added support for module `__getattr__` & `__dir__`.

Make use of this for operator access,
previously these were module like classes.

No functional changes, this is mostly to use a type which is expected,
rather than faking the type with a class instance.

Commit Details:

Full Hash: 79840abf6d58af1dab801f4e5718bca0df4ad1a9
Parent Commit: fb20efa
Lines Changed: +54, -77

2 Modified Paths:

/release/scripts/modules/bpy/ops.py (+53, -74) (Diff)
/release/scripts/modules/bpy/__init__.py (+1, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021