Files
test2/source/blender
Campbell Barton 59ed566e86 Added support for group objects
grp.objects

To have an iterator assigned as well as a list. Since gp.objects is an ietartor this is expected.
grp.objects= someGroup.objects works now.

Some other small fixes made.

Made a wrapper for add_to_group() That handles the OB_FROMGROUP flag. Should be moved to group.c's add_to_group()

void add_to_group_wraper(Group *group, Object *ob) {
	Base *base;
	add_to_group(group, ob);

	if (!(ob->flag & OB_FROMGROUP)) { /* do this to avoid a listbase lookup */
		ob->flag |= OB_FROMGROUP;

		base= object_in_scene(ob, G.scene);
		if (base)
			base->flag |= OB_FROMGROUP;
	}
}
2006-03-19 04:45:58 +00:00
..
2006-02-07 21:24:36 +00:00
2006-03-13 11:01:17 +00:00
2006-03-13 11:42:49 +00:00
2006-02-07 21:24:36 +00:00
2006-02-04 14:15:10 +00:00
2006-03-14 21:29:42 +00:00
2006-03-19 04:45:58 +00:00
2006-02-07 22:24:41 +00:00
2006-02-04 14:15:10 +00:00
2006-02-07 21:24:36 +00:00
2006-02-07 21:24:36 +00:00
2006-01-23 22:05:47 +00:00
2006-03-12 15:23:56 +00:00