[Bf-committers] Expanding the number of layers in Blender

olivier.saraja at free.fr olivier.saraja at free.fr
Mon Dec 17 09:34:14 CET 2007


Selon David Bryant <aceone at bellsouth.net>:

> I'm currently going further in the development of named layers.Can anyone
> tell me why bit shifts are used to indicate and access layers in the Blender
> codebase? It makes the code inflexible. I'm going to rewrite the way Blender
> does this so as to be able to expand the number of layers.But, could anyone
> answer that question?

If you refactor this ;-) please also look at the way texture are assigned to
various channels, it is also quite inflexible to my non-coder opinion, as I
believe it's also based on bit shifts.

As for your question, I have no clue, sorry.

Cheers
-- 
olivS


More information about the Bf-committers mailing list