mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Removed unused focus command.
This commit is contained in:
parent
6ad512d012
commit
cc36ecd5a1
3 changed files with 1 additions and 18 deletions
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue