[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Mar 23 13:59:19 PDT 2016


2 new commits in yt:

http://link.bitbucket.org/wf/click?upn=8USRlNyft-2BCzk2l4Ywl6gDx2lD2xxoS9E7MwXb2SMR-2BXcTD42YocdnOFkyGBVHOU9f-2FzJD3Zd9cjxJSEwXDVQ9RtIdWPY9t7-2FqcOuvuE90w-3D_ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27C1jPPqPNAxSlAXgSEkUxM9l5nhJA94-2FyscrHBcaPh56FkCXmA-2BrrE8cRCh-2FJQZxANWHafoTrTJtCdM1HBFiJUyHlM2WlJnCtzIkjFRStOPvoEmsKKbOL8ewOXEEehAKrWWl4A9e8JojCW4RvTnNMOTwUkMDPMRpY6yQWQgoU7QwO0Ip7s-2FJDVT-2FnJnBeEHuYM-3D
Changeset:   d1fdac983825
Branch:      yt
User:        xarthisius
Date:        2016-03-22 02:58:45+00:00
Summary:     Apply calculate_extent_perspective only to perspective camera
Affected #:  1 file

diff -r de823c10fed9f0b5fd4acf0512c45fc7d9cc491a -r d1fdac983825c1f267503bd690ed197e7792c762 yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -399,7 +399,7 @@
                     vp_pos.shape[1], vp_dir.shape[1], image.shape[1])
                 raise RuntimeError(msg)
 
-            if camera_data is not None and "perspective" in self.lens_type:
+            if camera_data is not None and self.lens_type == 'perspective':
                 self.extent_function = calculate_extent_perspective
             else:
                 self.extent_function = calculate_extent_null


http://link.bitbucket.org/wf/click?upn=8USRlNyft-2BCzk2l4Ywl6gDx2lD2xxoS9E7MwXb2SMR-2BXcTD42YocdnOFkyGBVHOUU46zUXUvW-2FRwPZmPqbym3uQlC7ezI5dKNFpXFMMIVDQ-3D_ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27C1jPPqPNAxSlAXgSEkUxM9l5nhJA94-2FyscrHBcaPh56OjBwQvoBVeC43KZn2v0-2Bimmz2QH1CnQB9wiKAYDylcpHthADm42aUwefI05uJKb65B0FVFwKm5kf0Z8phYKIiRBrFIWype6UzKOFnXNgxubvUo793EvGeyLxcKbpXVI1qt3LIyqgxo5I8dnkOBw2Fs-3D
Changeset:   5aa19c934e12
Branch:      yt
User:        ngoldbaum
Date:        2016-03-23 20:59:12+00:00
Summary:     Merged in xarthisius/yt (pull request #2064)

[bugfix] Apply calculate_extent_perspective only to perspective camera
Affected #:  1 file

diff -r 32879adfdddbee1118d6947fb04fc73ae32eeea6 -r 5aa19c934e12f875ab4eea98257acc81430096a2 yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -401,7 +401,7 @@
                     vp_pos.shape[1], vp_dir.shape[1], image.shape[1])
                 raise RuntimeError(msg)
 
-            if camera_data is not None and "perspective" in self.lens_type:
+            if camera_data is not None and self.lens_type == 'perspective':
                 self.extent_function = calculate_extent_perspective
             else:
                 self.extent_function = calculate_extent_null

Repository URL: http://link.bitbucket.org/wf/click?upn=8USRlNyft-2BCzk2l4Ywl6gDx2lD2xxoS9E7MwXb2SMR-2BI0v8SbQq-2B8-2FZaaHaJT85r_ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27C1jPPqPNAxSlAXgSEkUxM9l5nhJA94-2FyscrHBcaPh56IikVK-2FBUGS1u5Q3cJgCkVuDiVdMASgFhD-2FqflbF6HrDGsXrNOM5uBmDW2ATYTRp9L8sVFfx-2BJXSEhJbtz-2B4FtlqW5yf1cF3dWDv5rAMmB7mVGQmrKKsFsEx1fwSiTI99-2BkS0XY0WWU-2Br2Lt-2BrtsK1g-3D

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-svn-spacepope.org/attachments/20160323/b3bdd79d/attachment.html>


More information about the yt-svn mailing list