From 1f7e044fadd45b0658f08595d113b56d59f4d5f8 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 14 Sep 2012 14:41:19 +0200 Subject: [PATCH] removed some debug stuff --- apps/openmw/mwgui/inventorywindow.cpp | 2 -- apps/openmw/mwrender/characterpreview.cpp | 1 - apps/openmw/mwrender/renderingmanager.cpp | 1 - libs/openengine/ogre/selectionbuffer.cpp | 1 - 4 files changed, 5 deletions(-) diff --git a/apps/openmw/mwgui/inventorywindow.cpp b/apps/openmw/mwgui/inventorywindow.cpp index 7e46aeb03..f5091eea6 100644 --- a/apps/openmw/mwgui/inventorywindow.cpp +++ b/apps/openmw/mwgui/inventorywindow.cpp @@ -109,7 +109,6 @@ namespace MWGui MWBase::Environment::get().getWorld()->updateCharacterPreview (size.width, size.height); mAvatarImage->setSize(MyGUI::IntSize(std::max(mAvatar->getSize().width, 512), std::max(mAvatar->getSize().height, 1024))); mAvatarImage->setImageTexture("CharacterPreview"); - mAvatarImage->setImageTexture("SelectionBuffer"); } void InventoryWindow::onFilterChanged(MyGUI::Widget* _sender) @@ -294,7 +293,6 @@ namespace MWGui MyGUI::IntSize size = mAvatar->getSize(); MWBase::Environment::get().getWorld()->updateCharacterPreview (size.width, size.height); - mAvatarImage->setSize(MyGUI::IntSize(512, 1024)); mAvatarImage->setImageTexture("CharacterPreview"); } diff --git a/apps/openmw/mwrender/characterpreview.cpp b/apps/openmw/mwrender/characterpreview.cpp index 4a450fad9..1be78a0f7 100644 --- a/apps/openmw/mwrender/characterpreview.cpp +++ b/apps/openmw/mwrender/characterpreview.cpp @@ -84,7 +84,6 @@ namespace MWRender int InventoryPreview::getSlotSelected (int posX, int posY) { - std::cout << posX << " " << posY << std::endl; return mSelectionBuffer->getSelected (posX, posY); } diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index a1ad77caf..4b77da5e1 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -907,7 +907,6 @@ void RenderingManager::updateRaceSelectionPreview (float angle) int RenderingManager::getCharacterPreviewSlotSelected(int posX, int posY) { - std::cout << "SLOT IS " << mInventoryPreview->getSlotSelected(posX, posY) << std::endl; return mInventoryPreview->getSlotSelected(posX, posY); } diff --git a/libs/openengine/ogre/selectionbuffer.cpp b/libs/openengine/ogre/selectionbuffer.cpp index 99489f008..7b9e6f984 100644 --- a/libs/openengine/ogre/selectionbuffer.cpp +++ b/libs/openengine/ogre/selectionbuffer.cpp @@ -71,7 +71,6 @@ namespace Render { const Ogre::SubEntity *subEntity = static_cast(rend); int id = subEntity->getParent ()->getUserObjectBindings().getUserAny().get(); - std::cout << "found ID:" << id << " entity name is " << subEntity->getParent()->getName() << std::endl; bool found = false; Ogre::ColourValue colour; for (std::map::iterator it = mColourMap.begin(); it != mColourMap.end(); ++it)