Blender Git Loki

Git Commits -> Revision b376a65

August 16, 2021, 04:19 (GMT)
PyAPI: remove the .py extension requirement for startup registration

This was left over from when these scripts were loaded as modules,
where their names needed to be compatible with Pythons module naming.

Version patch existing files so text with register enabled
without a `.py` extension wont start executing on startup.

Resolves T89532.

Commit Details:

Full Hash: b376a65e8eaafb031fb90397779663e0aca146be
Parent Commit: 9ffa6b1
Committed By: YimingWu
Lines Changed: +27, -18

4 Modified Paths:

/release/scripts/startup/bl_ui/space_text.py (+1, -4) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+24, -12) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021