Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 3:20:46 AM (16 years ago)
Author:
landauf
Message:
  • changed output from std::cout to COUT(level)
  • added SoftDebugLevel config-variable (its a hack, but it works fine)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/SceneNode.cc

    r515 r560  
    66#include "../../misc/Tokenizer.h"
    77#include "../../misc/String2Number.h"
     8#include "../core/Debug.h"
    89
    910#include "SceneNode.h"
     
    2526    {
    2627        Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager();
    27        
     28
    2829        if (xmlElem->Attribute("name") && xmlElem->Attribute("pos"))
    2930        {
     
    3637                String2Number<float>(z, pos[2]);
    3738
    38                
     39
    3940                mgr->getRootSceneNode()->createChildSceneNode(name, Vector3(x,y,z));
    40                
    41                 std::cout << "Loader: Created node "<< name <<" : "<<x<<" " << y << " " << z  << std::endl << std::endl;
    42         }       
     41
     42                COUT(4) << "Loader: Created node "<< name <<" : "<<x<<" " << y << " " << z  << std::endl << std::endl;
     43        }
    4344   }
    4445}
Note: See TracChangeset for help on using the changeset viewer.