mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 12:45:33 +00:00
Disable more debug code.
This commit is contained in:
parent
4f685092fb
commit
ac7acb2c22
2 changed files with 1 additions and 5 deletions
|
@ -207,10 +207,6 @@ void CSVRender::PagedWorldspaceWidget::mouseReleaseEvent (QMouseEvent *event)
|
|||
|
||||
void CSVRender::PagedWorldspaceWidget::mouseDoubleClickEvent (QMouseEvent *event)
|
||||
{
|
||||
if(event->button() == Qt::RightButton)
|
||||
{
|
||||
std::cout << "double clicked" << std::endl;
|
||||
}
|
||||
WorldspaceWidget::mouseDoubleClickEvent(event);
|
||||
}
|
||||
|
||||
|
|
|
@ -549,7 +549,7 @@ void CSVRender::WorldspaceWidget::mousePressEvent (QMouseEvent *event)
|
|||
case Mouse_Grab:
|
||||
case Mouse_Drag:
|
||||
{
|
||||
if(event->buttons() & ~Qt::RightButton)
|
||||
if(0 /*event->buttons() & ~Qt::RightButton*/)
|
||||
{
|
||||
// cancel operation & return the object to the original position
|
||||
placeObject(mGrabbedSceneNode, mOrigObjPos);
|
||||
|
|
Loading…
Reference in a new issue