Skip to content

Commit

Permalink
+ fix typo in 'axonometric'
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jul 25, 2015
1 parent b5475db commit 4319548
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/Gui/CommandView.cpp
Expand Up @@ -1180,18 +1180,18 @@ StdCmdViewAxo::StdCmdViewAxo()
: Command("Std_ViewAxo")
{
sGroup = QT_TR_NOOP("Standard-View");
sMenuText = QT_TR_NOOP("Axometric");
sToolTipText= QT_TR_NOOP("Set to axometric view");
sMenuText = QT_TR_NOOP("Axonometric");
sToolTipText= QT_TR_NOOP("Set to axonometric view");
sWhatsThis = "Std_ViewXX";
sStatusTip = QT_TR_NOOP("Set to axometric view");
sPixmap = "view-axometric";
sStatusTip = QT_TR_NOOP("Set to axonometric view");
sPixmap = "view-axonometric";
sAccel = "0";
eType = Alter3DView;
}

void StdCmdViewAxo::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.activeDocument().activeView().viewAxometric()");
doCommand(Command::Gui,"Gui.activeDocument().activeView().viewAxonometric()");
}

//===========================================================================
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Icons/resource.qrc
Expand Up @@ -79,7 +79,7 @@
<file>view-unselectable.svg</file>
<file>view-refresh.svg</file>
<file>view-fullscreen.svg</file>
<file>view-axometric.svg</file>
<file>view-axonometric.svg</file>
<file>view-isometric.svg</file>
<file>view-perspective.svg</file>
<file>view-bottom.svg</file>
Expand Down Expand Up @@ -163,7 +163,7 @@
<file>view-unselectable.svg</file>
<file>view-refresh.svg</file>
<file>view-fullscreen.svg</file>
<file>view-axometric.svg</file>
<file>view-axonometric.svg</file>
<file>view-isometric.svg</file>
<file>view-perspective.svg</file>
<file>view-bottom.svg</file>
Expand Down
File renamed without changes
5 changes: 3 additions & 2 deletions src/Gui/View3DPy.cpp
Expand Up @@ -86,7 +86,8 @@ void View3DInventorPy::init_type()
add_varargs_method("viewRear",&View3DInventorPy::viewRear,"viewRear()");
add_varargs_method("viewRight",&View3DInventorPy::viewRight,"viewRight()");
add_varargs_method("viewTop",&View3DInventorPy::viewTop,"viewTop()");
add_varargs_method("viewAxometric",&View3DInventorPy::viewAxometric,"viewAxometric()");
add_varargs_method("viewAxometric",&View3DInventorPy::viewAxonometric,"viewAxonometric()"); // for backward compatibility
add_varargs_method("viewAxonometric",&View3DInventorPy::viewAxonometric,"viewAxonometric()");
add_varargs_method("viewRotateLeft",&View3DInventorPy::viewRotateLeft,"viewRotateLeft()");
add_varargs_method("viewRotateRight",&View3DInventorPy::viewRotateRight,"viewRotateRight()");
add_varargs_method("zoomIn",&View3DInventorPy::zoomIn,"zoomIn()");
Expand Down Expand Up @@ -418,7 +419,7 @@ Py::Object View3DInventorPy::viewTop(const Py::Tuple& args)
return Py::None();
}

Py::Object View3DInventorPy::viewAxometric(const Py::Tuple& args)
Py::Object View3DInventorPy::viewAxonometric(const Py::Tuple& args)
{
if (!PyArg_ParseTuple(args.ptr(), ""))
throw Py::Exception();
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/View3DPy.h
Expand Up @@ -54,7 +54,7 @@ class View3DInventorPy : public Py::PythonExtension<View3DInventorPy>
Py::Object viewRear(const Py::Tuple&);
Py::Object viewRight(const Py::Tuple&);
Py::Object viewTop(const Py::Tuple&);
Py::Object viewAxometric(const Py::Tuple&);
Py::Object viewAxonometric(const Py::Tuple&);
Py::Object viewPosition(const Py::Tuple&);
Py::Object viewRotateLeft(const Py::Tuple&);
Py::Object viewRotateRight(const Py::Tuple&);
Expand Down

0 comments on commit 4319548

Please sign in to comment.