Blender Git Loki

Git Commits -> Revision eecb90d

Revision eecb90d by Campbell Barton (master)
February 19, 2021, 00:23 (GMT)
PyAPI: bpy.utils.execfile temporarily overrides the __main__ module

This is needed to support Python 3.10's `typing.get_type_hints`,
to access the name-space used when creating the class.

Also added a docstring for execfile.

Commit Details:

Full Hash: eecb90d8d2ec68f4f3cb8b47ee9828dad5af60d6
Parent Commit: 4604350
Lines Changed: +29, -4

1 Modified Path:

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