[Yt-svn] commit/yt: MatthewTurk: This fixes the grid viewer.
Bitbucket
commits-noreply at bitbucket.org
Fri Apr 15 14:58:10 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/95aef8d5f40d/
changeset: r4142:95aef8d5f40d
branch: yt
user: MatthewTurk
date: 2011-04-15 23:58:00
summary: This fixes the grid viewer.
affected #: 1 file (2 bytes)
--- a/yt/gui/reason/extdirect_repl.py Fri Apr 15 16:57:01 2011 -0400
+++ b/yt/gui/reason/extdirect_repl.py Fri Apr 15 17:58:00 2011 -0400
@@ -407,7 +407,7 @@
payload = {'type': 'widget',
'widget_type': 'grid_viewer',
'varname': varname, # Is just "None"
- 'data': dict(n_vertices = len(vertices),
+ 'data': dict(n_vertices = len(vertices)/6,
vertex_positions = vertices)
}
self.execute("%s = None\n" % (varname), hide=True)
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