Blender Git Loki

Git Commits -> Revision e5d1c5a

Revision e5d1c5a by Willian Padovani Germano (master)
October 9, 2008, 22:28 (GMT)
== Python ==

Bug: [#17734] Loading a python script's help dosn't work

reported by Rian Tut (thanks).

Actual problem: scripts with spaces in their filenames were not supported by the code that registers scripts in menus and runs them. Added support w/o breaking eventual, rare scripts that parse the Bpymenus file. They will still need an update to support filenames with spaces, like done here for these scripts: Scripts Help Browser and Scripts Config Editor.

PS: tested on Linux. Please test on other platforms: just make sure scripts still appear in menus (the File->Export, for example), even after re-registering them (Scripts window -> Scripts Menu -> Update Menus) and that the Scripts Help Browser still works.

Commit Details:

Full Hash: e5d1c5a176607f8e4b2ee8a918734e8588d6a4b4
SVN Revision: 16999
Parent Commit: 0d23e34
Lines Changed: +35, -14

3 Modified Paths:

/release/scripts/config.py (+4, -0) (Diff)
/release/scripts/help_browser.py (+10, -2) (Diff)
/source/blender/python/BPY_menus.c (+21, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021