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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Oct 25 12:56:33 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/0f30249e5907/
Changeset:   0f30249e5907
Branch:      yt
User:        ngoldbaum
Date:        2016-10-25 19:56:07+00:00
Summary:     Merged in jisuoqing/yt (pull request #2381)

[BUGFIX] Fix zoom for perspective lens, partially fix Issue #1279
Affected #:  1 file

diff -r dbab762ab74b1034cd4dd071192fde5c216b7c21 -r 0f30249e590736a2068d6786c64f4fe453f49687 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -709,7 +709,7 @@
 
         """
 
-        self.set_width(self.width / factor)
+        self.width[:2] = self.width[:2] / factor
 
     def iter_zoom(self, final, n_steps):
         r"""Loop over a iter_zoom and return snapshots along the way.

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the yt-svn mailing list