[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
Lattice.c blender/source/blender/python/api2_2x/doc Lattice.py
cbarton at metavr.com
Mon Oct 9 15:43:52 CEST 2006
Alexander Ewering wrote:
> On Mon, 9 Oct 2006, Campbell Barton wrote:
>> campbellbarton (Campbell Barton) 2006/10/09 06:29:24 CEST
>> Modified files:
>> blender/release/scripts image_billboard.py
>> blender/release/scripts/bpymodules BPyRender.py
>> blender/source/blender/python/api2_2x Scene.c
>> BPyRender.imageFromObjectsOrtho's now sets all layers visible,
>> an error in Scene.c - scn.Layers disallowd all layer bits to be set.
> The error is not in Scene.c, but in BPyRender.py, which tries to
> enable 21
> layers instead of 20.
> To avoid such confusion, I would suggest replacing arbitary *decimal*
> numbers which don't mean a thing with things such as (1 << 20)-1, or
> at least 0xfffff.
are you sure? - if you enable all layers and then print them the
scn.Layers the number it spits out is 2097151
More information about the Bf-committers