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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user