Add optional argument moveToCenter (by default false) to avoid to move camera when using standard views

This commit is contained in:
wmayer 2012-07-09 13:40:13 +02:00
parent bea2c3b7a7
commit a085eede68

View File

@ -464,7 +464,7 @@ Py::Object View3DInventorPy::viewRotateRight(const Py::Tuple& args)
Py::Object View3DInventorPy::setCameraOrientation(const Py::Tuple& args)
{
PyObject* o;
PyObject* m;
PyObject* m=0;
if (!PyArg_ParseTuple(args.ptr(), "O!|O!", &PyTuple_Type, &o, &PyBool_Type, &m))
throw Py::Exception();