26 lines
783 B
C++
26 lines
783 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#include "scene3d/scene.h"
|
|
#include "scene3d/group.h"
|
|
|
|
using namespace GS::S3D;
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
void Scene::GroupMembersSetActive(Group *group, bool v)
|
|
{
|
|
ListForeachPtr(MItem *, i, group->GetItemList())
|
|
QueueItemActivation(i, v);
|
|
}
|
|
void Scene::DeleteGroupAndMembers(Group *group)
|
|
{
|
|
ListForeachPtr(MItem *, i, group->GetItemList())
|
|
QueueItemRemoval(i);
|
|
group_list.Remove(group);
|
|
}
|
|
//------------------------------------------------------------------------------
|