Blender Git Commit Log

Git Commits -> Revision c301499

Revision c301499 by Campbell Barton (master)
February 20, 2011, 23:39 (GMT)
Experimental option to build blender as a python module, rather then blender embedding python.
CMake build option WITH_PYTHON_MODULE, will build ./bin/

This allows 'bpy' to be imported from python or other applications/IDE's which embed python, eg:
python -c "import bpy ; bpy.ops.render.render(write_still=True)"

This runs in background mode and has similar restrictions to running a script:
blender --background --python

- install to site-packages with blender scripts
- add support for imp.reload()

Commit Details:

Full Hash: c30149991c9417106577e2d96112b16433910215
SVN Revision: 35005
Parent Commit: 55a0e21
Lines Changed: +115, -16

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020