[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Lattice.c blender/source/blender/python/api2_2x/doc Lattice.py

Alexander Ewering blender at instinctive.de
Mon Oct 9 15:33:54 CEST 2006


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
> 
>  Log:
>  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.

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de




More information about the Bf-blender-cvs mailing list