[yt-svn] commit/yt: ngoldbaum: Merged in xarthisius/yt (pull request #2064)

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


1 new commit in yt:

http://link.bitbucket.org/wf/click?upn=8USRlNyft-2BCzk2l4Ywl6gDx2lD2xxoS9E7MwXb2SMR-2BXcTD42YocdnOFkyGBVHOUU46zUXUvW-2FRwPZmPqbym3uQlC7ezI5dKNFpXFMMIVDQ-3D_ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27DUGl40wV-2BHTF9v06DFmgL-2FM4hc30ATGI5o-2FshOgE6-2FeKqDJsIm-2FRdZXzG2LC-2Bv-2Fhm4Opg8ZQ1McxCmB0Wa7ANkGmBzS4d5oMizltLMEaDPU-2BmME2nLKYf13hVRyhxkXXNBwmWM9yflhqFH1Hpg0XJ0uBMQomoZvNpCKlhvPM4P-2FqsE4nmvIyULXVwxfKb2YFc-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-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27DUGl40wV-2BHTF9v06DFmgL-2FM4hc30ATGI5o-2FshOgE6-2FeH90Nhe0XIrPDryTG3nAnEilCEIhAXmJxFF4mMnKVbJCElsmdt50vFhXd5RQFCgRNI-2BRdKTmfpwdrhJu2vaYOU3x86Bsd9s6n6c8jW0mPOIh3JebHj-2BFp0vGLdKz8-2F3zdYXQeWvjX62s02geCs2kfLo-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/46d69d40/attachment.htm>


More information about the yt-svn mailing list