Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 2, 2006, 11:30:40 AM (18 years ago)
Author:
patrick
Message:

trunk: fog-effect should be loadable but isn't

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/graphics_effect.cc

    r6873 r6977  
    3535GraphicsEffect::GraphicsEffect(const TiXmlElement* root)
    3636{
     37  this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect");
    3738  this->bActivated = false;
    3839
    3940  this->bActivated = GraphicsEngine::getInstance()->loadGraphicsEffect(this);
    40 
    41   if (root != NULL)
    42     this->loadParams(root);
    4341}
    4442
     
    6058{
    6159  BaseObject::loadParams(root);
    62 
    63 //   LoadParam(root, "diffuse-color", this, GraphicsEffect, setDiffuseColor)
    64 //       .describe("sets the diffuse color of the GraphicsEffect (red [0-1], green [0-1], blue [0-1])");
    65 
    6660}
    6761
Note: See TracChangeset for help on using the changeset viewer.