Mercurial > code > home > repos > light9
diff bin/curvecalc @ 773:24db623e2097
more vars in the python console
Ignore-this: 2e8f3703e2d084ffb51f7c31da03b34c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 16 Jun 2012 04:33:23 +0000 |
parents | c0977217a7da |
children | a2c1dc358bb1 |
line wrap: on
line diff
--- a/bin/curvecalc Sat Jun 16 04:32:49 2012 +0000 +++ b/bin/curvecalc Sat Jun 16 04:33:23 2012 +0000 @@ -173,7 +173,10 @@ self.curvesetView.onDelete() def onPythonConsole(self, item): - togglePyConsole(self, item, self.__dict__) + ns = dict() + ns.update(globals()) + ns.update(self.__dict__) + togglePyConsole(self, item, ns) def onSeeCurrentTime(self, item): dispatcher.send("see time")