[Yt-svn] commit/yt: MatthewTurk: Actually, *this* fixes the grid viewer. Sorry for the earlier mistake!

Bitbucket commits-noreply at bitbucket.org
Fri Apr 15 15:52:22 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/b6f0f31c5442/
changeset:   r4146:b6f0f31c5442
branch:      yt
user:        MatthewTurk
date:        2011-04-16 00:52:15
summary:     Actually, *this* fixes the grid viewer.  Sorry for the earlier mistake!
affected #:  1 file (0 bytes)

--- a/yt/gui/reason/extdirect_repl.py	Fri Apr 15 16:29:46 2011 -0600
+++ b/yt/gui/reason/extdirect_repl.py	Fri Apr 15 18:52:15 2011 -0400
@@ -407,7 +407,7 @@
         payload = {'type': 'widget',
                    'widget_type': 'grid_viewer',
                    'varname': varname, # Is just "None"
-                   'data': dict(n_vertices = len(vertices)/6,
+                   'data': dict(n_vertices = len(vertices)/3,
                                 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