Blender Git Loki

Git Commits -> Revision 8adb155

Revision 8adb155 by Campbell Barton (master)
June 9, 2009, 18:21 (GMT)
Built in limitations for script scanning was making python fail on meta-androcto script pack.

If a total of 30 subdirs was hit, or 4 dirs deep was hit - script scanning would quit, skipping files in the root scripts path too.

To work around this the script pack included some of blenders scripts twice just so they would get into the menu but this is a dodgy workaround.

* dont stop scanning for scripts when limits are reached (just dont scan further).
* global 30 dir limit per scan is silly - removed.
* limit recursive depth is kept but keep scanning at lower depths.
* bumped recursive limit from 4 to 6

* flt_properties.py had #!BPY without a menu header.

Commit Details:

Full Hash: 8adb155e98e9699117bb652f17d63f0837cefa05
SVN Revision: 20765
Parent Commit: 8704629
Lines Changed: +11, -5

2 Modified Paths:

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