diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-10-09 08:29:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-10-09 08:29:24 +0400 |
commit | 27dc45ba240ccf4398b348da5f6da85dbc0b1c9d (patch) | |
tree | 8f6f3c769987eb83950bdfc6ff93b1ef2c66ae09 /source/blender | |
parent | 74f2727a9e033c04f621f3b4292807e88a266662 (diff) |
BPyRender.imageFromObjectsOrtho's now sets all layers visible,
an error in Scene.c - scn.Layers disallowd all layer bits to be set.
made image_billboard.py rotate all images to be verticle for more efficient packing, added the option not to pack resulting images into 1.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index 29911002b55..fe4ca5fa355 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -677,7 +677,7 @@ static PyObject *Scene_setLayersMask(BPy_Scene *self, PyObject *args) "expected an integer (bitmask) as argument" ); } - if (laymask <= 0 || laymask > 1048575) /* binary: 1111 1111 1111 1111 1111 */ + if (laymask <= 0 || laymask > 2097151) /* binary: 1111 1111 1111 1111 1111 */ return EXPP_ReturnPyObjError( PyExc_AttributeError, "bitmask must have from 1 up to 20 bits set"); |