From bd56ada2a46ee313e9ebf82db876c1209504fae7 Mon Sep 17 00:00:00 2001 From: auria Date: Thu, 19 Mar 2009 01:53:28 +0000 Subject: [PATCH] removed debug code that should not have been commited (again) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3280 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/gui/screen_loader.cpp | 2 -- src/gui/state_manager.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/screen_loader.cpp b/src/gui/screen_loader.cpp index 5a3648b92..91007d944 100644 --- a/src/gui/screen_loader.cpp +++ b/src/gui/screen_loader.cpp @@ -32,8 +32,6 @@ void parseScreenFileDiv(irr::io::IrrXMLReader* xml, ptr_vector& append_t { WidgetType type; - std::cout << "node: " << xml->getNodeName() << std::endl; - if (!strcmp("div", xml->getNodeName())) { type = WTYPE_DIV; diff --git a/src/gui/state_manager.cpp b/src/gui/state_manager.cpp index 38a169572..22f6eea23 100644 --- a/src/gui/state_manager.cpp +++ b/src/gui/state_manager.cpp @@ -75,7 +75,7 @@ namespace StateManager IMesh* mesh = kart_properties_manager->getKart("tux")->getKartModel()->getModel(); SAnimatedMesh* test = new SAnimatedMesh(); // FIXME - memory management test->addMesh(mesh); - test->setMaterialFlag(EMF_LIGHTING , false); + //test->setMaterialFlag(EMF_LIGHTING , false); w3->setModel(test); }