removed some debug stuff

actorid
scrawl 12 years ago
parent 6ac2a12296
commit 1f7e044fad

@ -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");
}

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

@ -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);
}

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

Loading…
Cancel
Save