diff options
author | Matt Ebb <matt@mke3.net> | 2007-12-29 08:17:19 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-12-29 08:17:19 +0300 |
commit | 3c1ad6a295af33ee97847d80ff1e007369bdf96f (patch) | |
tree | 70b50df7a2247926554a1024e0e1f132ea90fc5a /source/blender/python/api2_2x/Image.c | |
parent | 02b00e2fd742401aa1232e5b0e4dc618f268e9f3 (diff) |
* Displacement map baking
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:
http://www.blender.org/development/current-projects/changes-since-244/render-baking/
Diffstat (limited to 'source/blender/python/api2_2x/Image.c')
-rw-r--r-- | source/blender/python/api2_2x/Image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c index f68cb2d8eeb..ec822004596 100644 --- a/source/blender/python/api2_2x/Image.c +++ b/source/blender/python/api2_2x/Image.c @@ -1,5 +1,5 @@ /* - * $Id: Image.c 11241 2007-07-12 11:51:21Z campbellbarton $ + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -243,7 +243,7 @@ static PyObject *M_Image_New( PyObject * self, PyObject * args) if (width > 5000 || height > 5000 || width < 1 || height < 1) return ( EXPP_ReturnPyObjError( PyExc_TypeError, "Image width and height must be between 1 and 5000" ) ); - image = BKE_add_image_size(width, height, name, 0, color); + image = BKE_add_image_size(width, height, name, 0, 0, color); if( !image ) return ( EXPP_ReturnPyObjError( PyExc_MemoryError, "couldn't create PyObject Image_Type" ) ); |