diff options
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-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"); |