[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/release/scripts image_billboard.py blender/release/scripts/bpymodules BPyRender.py blender/source/blender/python/api2_2x Scene.c

Campbell Barton cbarton at metavr.com
Mon Oct 9 08:03:49 CEST 2006


Ken Hughes wrote:
> Campbell Barton wrote:
>
>>   Log:
>>   an error in Scene.c - scn.Layers disallowd all layer bits to be set.
>
> This does a comparison for which checks for more than 21 bits being 
> set (2097151 = 2^21 - 1).  Is that right?
>
> Ken
Yep, anything over 2097151 will raise an error. the previous limit was 
1048575
so scn.Layers= scn.Layers would raise an error if all layers were set.

-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241


More information about the Bf-committers mailing list