feature request from peach, remove selected objects from 1 group.

Also made rem_from_group return if it removed the object which save some looping.

Added a node in the blender help message that background mode dosnt load the .B.blend file as a bug was reported recently because of this.
This commit is contained in:
2008-02-03 19:03:18 +00:00
parent 7e7f5628c3
commit a9518afc67
5 changed files with 84 additions and 10 deletions

View File

@@ -2492,8 +2492,7 @@ static void group_ob_rem(void *gr_v, void *ob_v)
{
Object *ob= OBACT;
rem_from_group(gr_v, ob);
if(find_group(ob, NULL)==NULL) {
if(rem_from_group(gr_v, ob) && find_group(ob, NULL)==NULL) {
ob->flag &= ~OB_FROMGROUP;
BASACT->flag &= ~OB_FROMGROUP;
}