Blender Git Commit Log

Git Commits -> Revision 3e775a4

Revision 3e775a4 by Campbell Barton (master)
August 13, 2021, 05:51 (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: 3e775a4fc57cfd48954adcf284354312f34d5412
Parent Commit: 41e6509
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021