Add optional argument moveToCenter (by default false) to avoid to move camera when using standard views
This commit is contained in:
parent
bea2c3b7a7
commit
a085eede68
|
@ -464,7 +464,7 @@ Py::Object View3DInventorPy::viewRotateRight(const Py::Tuple& args)
|
||||||
Py::Object View3DInventorPy::setCameraOrientation(const Py::Tuple& args)
|
Py::Object View3DInventorPy::setCameraOrientation(const Py::Tuple& args)
|
||||||
{
|
{
|
||||||
PyObject* o;
|
PyObject* o;
|
||||||
PyObject* m;
|
PyObject* m=0;
|
||||||
if (!PyArg_ParseTuple(args.ptr(), "O!|O!", &PyTuple_Type, &o, &PyBool_Type, &m))
|
if (!PyArg_ParseTuple(args.ptr(), "O!|O!", &PyTuple_Type, &o, &PyBool_Type, &m))
|
||||||
throw Py::Exception();
|
throw Py::Exception();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user