Blender Git Commit Log

Git Commits -> Revision 08f306c

Revision 08f306c by Campbell Barton (master)
March 6, 2008, 21:25 (GMT)
Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing.

This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run.
Blender runs the script or text block if available.

Commit Details:

Full Hash: 08f306c81cb8015db59fe63ad1ef2c977751652e
SVN Revision: 13992
Parent Commit: 3796abf
Lines Changed: +305, -223

1 Deleted Path:

/source/blender/include/BPI_script.h (+0, -71)

19 Modified Paths:

/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/script.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+1, -1) (Diff)
/source/blender/blenlib/intern/util.c (+3, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+28, -5) (Diff)
/source/blender/blenloader/intern/writefile.c (+13, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+18, -0) (Diff)
/source/blender/python/api2_2x/Blender.c (+1, -1) (Diff)
/source/blender/python/api2_2x/Draw.c (+3, -1) (Diff)
/source/blender/python/api2_2x/Window.c (+0, -1) (Diff)
/source/blender/python/BPY_extern.h (+3, -1) (Diff)
/source/blender/python/BPY_interface.c (+201, -129) (Diff)
/source/blender/src/drawscript.c (+30, -1) (Diff)
/source/blender/src/editimasel.c (+0, -2) (Diff)
/source/blender/src/filesel.c (+0, -1) (Diff)
/source/blender/src/headerbuttons.c (+0, -2) (Diff)
/source/blender/src/header_script.c (+0, -1) (Diff)
/source/blender/src/space.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021