[Bf-committers] Group indentification code

Campbell Barton ideasman42 at gmail.com
Thu Jan 17 12:13:17 CET 2008


Groups are basically a named list of objects,
For an object to know if its in a group it needs to loop through all
objects in that group and compare however there is a func to do this.
Problem with group visibility is that groups can overlap so Im not
sure how that would work.
(Groups are similar to scenes which can also share objects
(overlapping lists) just used differently from the user's perspective)


On Jan 17, 2008 11:42 AM, David Bryant <aceone at bellsouth.net> wrote:
>  I'm writing a feature that will enable Groups to toggle
> visible/invisible.Interface is finished. I have finished code that will
> enable you to select an object in a group and then hide the whole Group that
> that particular object is in.But, I need to write a function that
> "remembers" which Groups are hid so that when other Groups are hid
> simultaneously,when an individual Group's toggle is toggled to visible, it
> will unhide that specific Group only and not the others(each Group has it's
> own visible/invisible toggle button).
>
> My question is:
> How are Groups individually identified in the source code?
>
> Once I can "clearly" grasp that answer the feature will be finished.
>
> Hope someone can help.
> Digikiller
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list