removed some debug stuff

This commit is contained in:
scrawl 2012-09-14 14:41:19 +02:00
parent 6ac2a12296
commit 1f7e044fad
4 changed files with 0 additions and 5 deletions

View file

@ -109,7 +109,6 @@ namespace MWGui
MWBase::Environment::get().getWorld()->updateCharacterPreview (size.width, size.height); 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->setSize(MyGUI::IntSize(std::max(mAvatar->getSize().width, 512), std::max(mAvatar->getSize().height, 1024)));
mAvatarImage->setImageTexture("CharacterPreview"); mAvatarImage->setImageTexture("CharacterPreview");
mAvatarImage->setImageTexture("SelectionBuffer");
} }
void InventoryWindow::onFilterChanged(MyGUI::Widget* _sender) void InventoryWindow::onFilterChanged(MyGUI::Widget* _sender)
@ -294,7 +293,6 @@ namespace MWGui
MyGUI::IntSize size = mAvatar->getSize(); MyGUI::IntSize size = mAvatar->getSize();
MWBase::Environment::get().getWorld()->updateCharacterPreview (size.width, size.height); MWBase::Environment::get().getWorld()->updateCharacterPreview (size.width, size.height);
mAvatarImage->setSize(MyGUI::IntSize(512, 1024)); mAvatarImage->setSize(MyGUI::IntSize(512, 1024));
mAvatarImage->setImageTexture("CharacterPreview"); mAvatarImage->setImageTexture("CharacterPreview");
} }

View file

@ -84,7 +84,6 @@ namespace MWRender
int InventoryPreview::getSlotSelected (int posX, int posY) int InventoryPreview::getSlotSelected (int posX, int posY)
{ {
std::cout << posX << " " << posY << std::endl;
return mSelectionBuffer->getSelected (posX, posY); return mSelectionBuffer->getSelected (posX, posY);
} }

View file

@ -907,7 +907,6 @@ void RenderingManager::updateRaceSelectionPreview (float angle)
int RenderingManager::getCharacterPreviewSlotSelected(int posX, int posY) int RenderingManager::getCharacterPreviewSlotSelected(int posX, int posY)
{ {
std::cout << "SLOT IS " << mInventoryPreview->getSlotSelected(posX, posY) << std::endl;
return mInventoryPreview->getSlotSelected(posX, posY); return mInventoryPreview->getSlotSelected(posX, posY);
} }

View file

@ -71,7 +71,6 @@ namespace Render
{ {
const Ogre::SubEntity *subEntity = static_cast<const Ogre::SubEntity *>(rend); const Ogre::SubEntity *subEntity = static_cast<const Ogre::SubEntity *>(rend);
int id = subEntity->getParent ()->getUserObjectBindings().getUserAny().get<int>(); int id = subEntity->getParent ()->getUserObjectBindings().getUserAny().get<int>();
std::cout << "found ID:" << id << " entity name is " << subEntity->getParent()->getName() << std::endl;
bool found = false; bool found = false;
Ogre::ColourValue colour; Ogre::ColourValue colour;
for (std::map<Ogre::ColourValue, int>::iterator it = mColourMap.begin(); it != mColourMap.end(); ++it) for (std::map<Ogre::ColourValue, int>::iterator it = mColourMap.begin(); it != mColourMap.end(); ++it)