Fixed issue #481
This commit is contained in:
parent
e5e103de6d
commit
fc5e0cd9f4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user