Blender Git Loki

Git Commits -> Revision c16e5da

Revision c16e5da by Willian Padovani Germano (master)
November 9, 2004, 14:07 (GMT)
BPython:
- Small doc update in a script;
- Fixed bug #1742:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1742&group_id=9

It was an internal error in bpython. I was using G.main->script.last to find the currently running (if any) script, but this isn't reliable, we must check each open script to find out if one of them has the SCRIPT_RUNNING bitflag set.

Thanks intrr for reporting and blendix for pointing how to reproduce the bug. From my tests it should be working fine now.

Commit Details:

Full Hash: c16e5dad1cd03f3b3a3a72d7e2dc556096a3f969
SVN Revision: 3425
Parent Commit: 1197c48
Lines Changed: +41, -28

3 Modified Paths:

/release/scripts/ac3d_export.py (+6, -5) (Diff)
/source/blender/python/api2_2x/Draw.c (+23, -21) (Diff)
/source/blender/python/BPY_interface.c (+12, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021