Removed unused focus command.

This commit is contained in:
leo 2015-01-17 18:36:09 +00:00
parent 6ad512d012
commit cc36ecd5a1
3 changed files with 1 additions and 18 deletions

View file

@ -921,13 +921,6 @@ lcCommand gCommands[LC_NUM_COMMANDS] =
QT_TRANSLATE_NOOP("Status", "Set the current camera to use an orthographic projection"),
QT_TRANSLATE_NOOP("Shortcut", "")
},
// LC_VIEW_PROJECTION_FOCUS
{
"View.Projection.Focus",
QT_TRANSLATE_NOOP("Menu", "&Focus"),
QT_TRANSLATE_NOOP("Status", "Focus projection on selected piece"),
QT_TRANSLATE_NOOP("Shortcut", "")
},
// LC_PIECE_INSERT
{
"Piece.Insert",

View file

@ -142,7 +142,6 @@ enum lcCommandId
LC_VIEW_PROJECTION_PERSPECTIVE = LC_VIEW_PROJECTION_FIRST,
LC_VIEW_PROJECTION_ORTHO,
LC_VIEW_PROJECTION_LAST = LC_VIEW_PROJECTION_ORTHO,
LC_VIEW_PROJECTION_FOCUS,
LC_PIECE_INSERT,
LC_PIECE_DELETE,
LC_PIECE_MOVE_PLUSX,

View file

@ -474,16 +474,7 @@ void lcMainWindow::HandleCommand(lcCommandId CommandId)
case LC_VIEW_PROJECTION_ORTHO:
mActiveView->SetProjection(true);
break;
/*
case LC_VIEW_PROJECTION_FOCUS:
{
lcVector3 FocusVector;
GetSelectionCenter(FocusVector);
mActiveView->mCamera->SetFocalPoint(FocusVector, mCurrentStep, GetAddKeys());
UpdateAllViews();
}
break;
*/
case LC_PIECE_INSERT:
lcGetActiveModel()->AddPiece();
break;