Commit 4748922f authored by David E. DeMarle's avatar David E. DeMarle

Improve A export when focal point is not center of rotation

Part of ParaView bug #18042
parent ece71147
......@@ -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)
tracks.append(cam)
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