[yt-svn] commit/yt: samskillman: This was also a culprit in broken rotations.
Bitbucket
commits-noreply at bitbucket.org
Fri Dec 21 14:58:15 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/1d6aeed04e24/
changeset: 1d6aeed04e24
branch: yt
user: samskillman
date: 2012-12-21 23:57:47
summary: This was also a culprit in broken rotations.
affected #: 1 file
diff -r 5fa636d7db1d29773dceb55ffff30ef104ced496 -r 1d6aeed04e247b02a2fd8474451b20c1f95572f3 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -285,7 +285,7 @@
if center is not None:
self.center = center
if north_vector is None:
- north_vector = self.orienter.unit_vectors[1]
+ north_vector = self.orienter.north_vector
if normal_vector is None:
normal_vector = self.orienter.normal_vector
self.orienter.switch_orientation(normal_vector = normal_vector,
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