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.
This commit is contained in:
2006-10-09 04:29:24 +00:00
parent 74f2727a9e
commit 27dc45ba24
3 changed files with 123 additions and 100 deletions

View File

@@ -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");