mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
Removed temporary key bindings.
This commit is contained in:
parent
6d687993b8
commit
cc6153eb8e
2 changed files with 1 additions and 15 deletions
|
@ -186,7 +186,7 @@ void CSVRender::PagedWorldspaceWidget::updateOverlay()
|
||||||
if(getCamera()->getViewport())
|
if(getCamera()->getViewport())
|
||||||
{
|
{
|
||||||
if((uint32_t)getCamera()->getViewport()->getVisibilityMask()
|
if((uint32_t)getCamera()->getViewport()->getVisibilityMask()
|
||||||
& (uint32_t)CSVRender::Elements::Element_CellMarker)
|
& (uint32_t)CSVRender::Element_CellMarker)
|
||||||
{
|
{
|
||||||
mDisplayCellCoord = true;
|
mDisplayCellCoord = true;
|
||||||
overlay->show();
|
overlay->show();
|
||||||
|
|
|
@ -297,20 +297,6 @@ namespace CSVRender
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//FIXME: for testing only
|
|
||||||
case Qt::Key_N:
|
|
||||||
setVisibilityMask((uint32_t)mViewport->getVisibilityMask()
|
|
||||||
& ~(uint32_t)CSVRender::Element_CellMarker);
|
|
||||||
updateOverlay();
|
|
||||||
break;
|
|
||||||
|
|
||||||
//FIXME: for testing only
|
|
||||||
case Qt::Key_M:
|
|
||||||
setVisibilityMask((uint32_t)mViewport->getVisibilityMask()
|
|
||||||
| (uint32_t)CSVRender::Element_CellMarker);
|
|
||||||
updateOverlay();
|
|
||||||
break;
|
|
||||||
|
|
||||||
default: QWidget::keyReleaseEvent (event);
|
default: QWidget::keyReleaseEvent (event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue