Commit d9f40ab3 authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot

Merge topic 'fixup-cinema-A-export'

4748922f Improve A export when focal point is not center of rotation
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !117
parents ece71147 4748922f
Pipeline #98090 failed with stage
in 0 seconds
......@@ -717,8 +717,14 @@ def explore(cs, proxies, iSave=True, currentTime=None, userDefined={},
uppest = 2
cinup = [0, 0, 0]
cinup[uppest] = 1
eye = [x for x in view_proxy.CameraPosition]
_fp = [x for x in view_proxy.CameraFocalPoint]
_cr = [x for x in view_proxy.CenterOfRotation]
at = project_to_at(eye, _fp, _cr)
cam = pv_explorers.Camera(
view_proxy.CameraFocalPoint, cinup, dist, view_proxy)
at, cinup, dist, view_proxy)
elif camType != 'static':
cam = pv_explorers.PoseCamera(view_proxy, camType, cs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment