Blender Git Commit Log

Git Commits -> Revision eb40d8e

Revision eb40d8e by Campbell Barton (master)
July 27, 2009, 18:50 (GMT)
render api utility function to initialize a render layer from an image rather then loading through python.

lay = result.layers[0]
lay.rect_from_file("somefile.png", part.x, part.y)

If the source image is bigger then the render layer x/y offsets can be used to choose the part of the image use.

Commit Details:

Full Hash: eb40d8ef0f49873a7f262af367decb7e652e7618
SVN Revision: 21942
Parent Commit: 324187b
Lines Changed: +58, -1

4 Modified Paths:

/release/ui/space_view3d_toolbar.py (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+11, -0) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+3, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+42, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021