1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-05 15:45:33 +00:00

Disable more debug code.

This commit is contained in:
cc9cii 2014-10-31 22:21:24 +11:00
parent 4f685092fb
commit ac7acb2c22
2 changed files with 1 additions and 5 deletions

View file

@ -207,10 +207,6 @@ void CSVRender::PagedWorldspaceWidget::mouseReleaseEvent (QMouseEvent *event)
void CSVRender::PagedWorldspaceWidget::mouseDoubleClickEvent (QMouseEvent *event) void CSVRender::PagedWorldspaceWidget::mouseDoubleClickEvent (QMouseEvent *event)
{ {
if(event->button() == Qt::RightButton)
{
std::cout << "double clicked" << std::endl;
}
WorldspaceWidget::mouseDoubleClickEvent(event); WorldspaceWidget::mouseDoubleClickEvent(event);
} }

View file

@ -549,7 +549,7 @@ void CSVRender::WorldspaceWidget::mousePressEvent (QMouseEvent *event)
case Mouse_Grab: case Mouse_Grab:
case Mouse_Drag: case Mouse_Drag:
{ {
if(event->buttons() & ~Qt::RightButton) if(0 /*event->buttons() & ~Qt::RightButton*/)
{ {
// cancel operation & return the object to the original position // cancel operation & return the object to the original position
placeObject(mGrabbedSceneNode, mOrigObjPos); placeObject(mGrabbedSceneNode, mOrigObjPos);