mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-20 01:21:15 +00:00
Disable more debug code.
This commit is contained in:
parent
4f685092fb
commit
ac7acb2c22
apps/opencs/view/render
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user