Page MenuHome

PyAPI: remove the .py extension requirement for startup registration
AbandonedPublic

Authored by Campbell Barton (campbellbarton) on Aug 10 2021, 10:32 AM.

Details

Summary

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.


Names TXT_ISSCRIPT and use_module are now misleading/outdated names, updating them can be addressed in a separate patch.

Diff Detail

Repository
rB Blender
Branch
T (branched from master)
Build Status
Buildable 16325
Build 16325: arc lint + arc unit