Fixed issue #481

This commit is contained in:
Stefan Ecklebe 2018-10-12 15:32:23 +02:00
parent e5e103de6d
commit fc5e0cd9f4

View File

@ -236,6 +236,8 @@ class GLViewWidget(QtOpenGL.QGLWidget):
glPopMatrix()
def setCameraPosition(self, pos=None, distance=None, elevation=None, azimuth=None):
if pos is not None:
self.opts['center'] = pos
if distance is not None:
self.opts['distance'] = distance
if elevation is not None: