Blender Git Commit Log

Git Commits -> Revision fa0196b

Revision fa0196b by Willian Padovani Germano (master)
March 31, 2004, 04:18 (GMT)
BPython:
- tentative fix for scripts with CR/LF endings and split lines:
in 2.32, the ac3d and vrml2 exporters, for example, had lines
split with '\\' and so gave syntax errors when executed on Win
platforms, because the scripts bundled with Win binaries had dos
line endings.

- Chris Keith has written code to execute Python scripts from the
command-line, with '-P ' switch: "blender -P filename":
a Blender.Quit function was also added, so Blender can quit after
running the script (end the script with Blender.Quit()), but there's
still work to be done in this part, including adding more functions,
to load / save .blend files and to run scripts. More testing and
discussions are necessary.

Thanks Chris, for both your contributions and your patience, since I
wasn't available to check / commit this for a while.

Commit Details:

Full Hash: fa0196b8f920c6662cf7bc1d74161febb36787cb
SVN Revision: 2197
Parent Commit: 2b27a90
Lines Changed: +98, -44

6 Modified Paths:

/source/blender/python/api2_2x/Blender.c (+17, -15) (Diff)
/source/blender/python/api2_2x/Blender.h (+6, -9) (Diff)
/source/blender/python/api2_2x/Draw.c (+0, -5) (Diff)
/source/blender/python/BPY_extern.h (+2, -5) (Diff)
/source/blender/python/BPY_interface.c (+67, -10) (Diff)
/source/creator/creator.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021