[Bf-committers] handling large lists in Blender (vertex groups, shape keys, materials)

Lukas Tönne lukas.toenne at gmail.com
Fri Dec 7 13:04:32 CET 2012


On Fri, Dec 7, 2012 at 12:51 PM, Tobias Oelgarte
<tobias.oelgarte at googlemail.com> wrote:
> Lists are somehow able to know how many entries they want to display.
> That is already for the Shift+Mousewheel resize of the lists.

Oh, i didn't even know about this feature :)

Had a quick look at the code, it seems this list length value is
stored in the Panel struct, which kind of works, but IMHO is a hack
(as are so many other things ...)
It's also a bit limited, e.g. if you have multiple lists in the same
panel they will all have the same length (granted this is not common,
usually there is not more than one list in a panel).


More information about the Bf-committers mailing list