+ fix typo in 'axonometric'
This commit is contained in:
parent
b5475db2de
commit
4319548f08
|
@ -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()");
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
@ -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>
|
||||
|
@ -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>
|
||||
|
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
@ -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()");
|
||||
|
@ -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();
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
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&);
|
||||
|
|
Loading…
Reference in New Issue
Block a user