[Bf-python] typo in epydocs

jean-michel soler jmsoler at free.fr
Fri Jul 29 01:29:45 CEST 2005


jean-michel soler a écrit :

> However an object may belong to several layers,
> so, why do not we simply write :
>
> # to set
> LAYER=4
> OB.Layers |=2**(LAYER-1)
>
> # to unset
> LAYER=4
> OB.Layers &=~2**(LAYER-1)
>
> -jms-
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
>
or :

# to set
LAYER=4
OB.Layers |=1<<(LAYER-1)

# to unset
LAYER=4
OB.Layers &=~(1<<(LAYER-1) )


-jms-





More information about the Bf-python mailing list