<html><body>
<p>2 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/adad1f950d21/">https://bitbucket.org/yt_analysis/yt/commits/adad1f950d21/</a> Changeset:   adad1f950d21 Branch:      yt User:        ngoldbaum Date:        2016-03-29 16:59:35+00:00 Summary:     Fix units issue in PerspectiveCamera.project_to_plane. Closes #1182 Affected #:  1 file</p>
<p>diff -r b6dad5b69998cff732a5c3ea7847a4b01092ffc8 -r adad1f950d21d922650527e1a2f738244aa76410 yt/visualization/volume_rendering/lens.py --- a/yt/visualization/volume_rendering/lens.py +++ b/yt/visualization/volume_rendering/lens.py @@ -277,8 +277,8 @@</p>
<pre>        dz = np.dot(pos - position, camera.unit_vectors[2])

        # Transpose into image coords.</pre>
<ul><li><p>px = (res[0] * 0.5 + res[0] / camera.width[0].d * dx).astype('int')</p></li>
<li><p>py = (res[1] * 0.5 + res[1] / camera.width[1].d * dy).astype('int')</p></li></ul>
<p>+        px = (res[0] * 0.5 + res[0] / width[0] * dx).astype('int64') +        py = (res[1] * 0.5 + res[1] / width[1] * dy).astype('int64')</p>
<pre>        return px, py, dz
</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/bd8a7c0ed718/">https://bitbucket.org/yt_analysis/yt/commits/bd8a7c0ed718/</a> Changeset:   bd8a7c0ed718 Branch:      yt User:        atmyers Date:        2016-03-30 22:19:44+00:00 Summary:     Merged in ngoldbaum/yt (pull request #2095)</p>
<p>Fix units issue in PerspectiveCamera.project_to_plane. Closes #1182 Affected #:  1 file</p>
<p>diff -r d923aa143295f0ef48f3e9c87e70b1f21b82d530 -r bd8a7c0ed718365c84f355f9b30a1a95bd77c98b yt/visualization/volume_rendering/lens.py --- a/yt/visualization/volume_rendering/lens.py +++ b/yt/visualization/volume_rendering/lens.py @@ -277,8 +277,8 @@</p>
<pre>        dz = np.dot(pos - position, camera.unit_vectors[2])

        # Transpose into image coords.</pre>
<ul><li><p>px = (res[0] * 0.5 + res[0] / camera.width[0].d * dx).astype('int')</p></li>
<li><p>py = (res[1] * 0.5 + res[1] / camera.width[1].d * dy).astype('int')</p></li></ul>
<p>+        px = (res[0] * 0.5 + res[0] / width[0] * dx).astype('int64') +        py = (res[1] * 0.5 + res[1] / width[1] * dy).astype('int64')</p>
<pre>return px, py, dz</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>

<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27Dxw2KCsqMcGXGhlOoxmzWTVOH5HL7IX8kRulrMCGFmrbbqRBCEb-2FNO8m6CAGyIjZxNjhO5LCzbmyAWXkfOaJPj4Y-2B6-2B-2FMp77-2FsZgpRCd5khjz5yfK44Lh-2FUM9ohfqcy1w1d-2FFWUPYgoYEcsy3SBj-2BjNL1CiS01LPRfwsGaqQySiNWj2VCWlqbH7UX1Ai3ukZU-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>