Blender Git Commit Log

Git Commits -> Revision 412c043

Revision 412c043 by Campbell Barton (master)
June 10, 2013, 00:42 (GMT)
Python script auto-execution changes:

- script execution is off by default

- if a blend file attempts to execute a script
this shows a message in the header with the action
that was suppressed (script/driver/game-autostart) and 2 buttons to either reload the file trusted, or to ignore the message.

- the file selector will always default to use the trust setting in the user preferences,
but reloading an open file will keep using the current setting (whatever was set before or set on the command-line).

- added SCons setting WITH_BF_PYTHON_SECURITY, this sets the default state for the user prefereces not to trust blend files on load.
... this option was in CMake before, but always off, now its enabled by default for SCons and CMake, and forced on in CMake for now.

Commit Details:

Full Hash: 412c04347440fa5e480b69a07b20ff1399775c5b
SVN Revision: 57327
Parent Commit: e7a487d
Lines Changed: +113, -19

14 Modified Paths:

/build_files/scons/tools/btools.py (+2, -1) (Diff)
/CMakeLists.txt (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+11, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+5, -0) (Diff)
/source/blender/editors/space_script/script_edit.c (+21, -0) (Diff)
/source/blender/editors/space_script/script_intern.h (+1, -0) (Diff)
/source/blender/editors/space_script/script_ops.c (+1, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+16, -0) (Diff)
/source/blender/python/intern/bpy_driver.c (+7, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+10, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+19, -10) (Diff)
/source/blender/windowmanager/SConscript (+3, -0) (Diff)
/source/creator/creator.c (+14, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021