// $Id: Scene.cxx 2088 2008-11-23 20:26:46Z matevz $ // Copyright (C) 1999-2008, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. //__________________________________________________________________________ // Scene // // #include "Scene.h" #include "Scene.c7" #include <Glasses/ZQueen.h> ClassImp(Scene); /**************************************************************************/ void Scene::_init() { mGlobLamps = 0; } /**************************************************************************/ void Scene::AdEnlightenment() { ZNode::AdEnlightenment(); if(mGlobLamps == 0) { GlobalLamps* l = new GlobalLamps("Global Lamps", GForm("GlobLamps of %s", GetName())); mQueen->CheckIn(l); SetGlobLamps(l); } } /**************************************************************************/