Blender Git Commit Log

Git Commits -> Revision 7b6c884

Revision 7b6c884 by Campbell Barton (master)
January 19, 2008, 15:13 (GMT)
find_group would only return the first group, this let to the assumption that an object was only in 1 group, made it easy to loop through all groups an object is in.

group = NULL;
while( (group = find_group(base->object, group)) ) {
...
}

Commit Details:

Full Hash: 7b6c88473c02d97485970390086395b515be653e
SVN Revision: 13294
Parent Commit: c8841a7
Lines Changed: +13, -10

7 Modified Paths:

/source/blender/blenkernel/BKE_group.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/effect.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+5, -2) (Diff)
/source/blender/python/api2_2x/Group.c (+1, -1) (Diff)
/source/blender/src/buttons_object.c (+1, -1) (Diff)
/source/blender/src/editgroup.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021