3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 14:42:56 +02:00

Revert "Switched voxel size (back) to key +,- because ZoomIn and ZoomOut don’t seem to trigger (at least on my mac)"

This reverts commit d68a551940.
This commit is contained in:
Philip Rosedale 2013-12-19 10:01:55 -08:00
parent 118b380d3b
commit 77751df992
2 changed files with 6 additions and 17 deletions

View file

@ -994,23 +994,12 @@ void Application::keyPressEvent(QKeyEvent* event) {
deleteVoxelUnderCursor();
}
break;
case Qt::Key_Plus:
increaseVoxelSize();
break;
case Qt::Key_Minus:
decreaseVoxelSize();
break;
case QKeySequence::ZoomIn:
break;
_myAvatar.increaseSize();
case QKeySequence::ZoomOut:
break;
case Qt::Key_Minus:
_myAvatar.decreaseSize();
break;
case Qt::Key_1:
case Qt::Key_2:

View file

@ -210,12 +210,12 @@ Menu::Menu() :
addActionToQMenuAndActionHash(toolsMenu,
MenuOption::DecreaseVoxelSize,
Qt::Key_Minus,
QKeySequence::ZoomOut,
appInstance,
SLOT(decreaseVoxelSize()));
addActionToQMenuAndActionHash(toolsMenu,
MenuOption::IncreaseVoxelSize,
Qt::Key_Plus,
QKeySequence::ZoomIn,
appInstance,
SLOT(increaseVoxelSize()));
addActionToQMenuAndActionHash(toolsMenu, MenuOption::ResetSwatchColors, 0, this, SLOT(resetSwatchColors()));
@ -237,12 +237,12 @@ Menu::Menu() :
addActionToQMenuAndActionHash(avatarSizeMenu,
MenuOption::IncreaseAvatarSize,
QKeySequence::ZoomIn,
Qt::Key_Plus,
appInstance->getAvatar(),
SLOT(increaseSize()));
addActionToQMenuAndActionHash(avatarSizeMenu,
MenuOption::DecreaseAvatarSize,
QKeySequence::ZoomOut,
Qt::Key_Minus,
appInstance->getAvatar(),
SLOT(decreaseSize()));
addActionToQMenuAndActionHash(avatarSizeMenu,