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

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


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/8b6acc989b75/
Changeset:   8b6acc989b75
Branch:      yt
User:        jisuoqing
Date:        2016-09-16 23:26:18+00:00
Summary:     Fix zoom for perspective lens
Affected #:  1 file

diff -r 9117a13f556156c853cb5983fb8752a068657c75 -r 8b6acc989b754cb7a864eff6dab0e65fb5829bce 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.


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