# HG changeset patch # User drewp@bigasterisk.com # Date 2012-06-16 04:33:23 # Node ID 24db623e209725414b72e30db624272dceba4451 # Parent c0977217a7da54d8bd8aeb4f5a584bd84b495657 more vars in the python console Ignore-this: 2e8f3703e2d084ffb51f7c31da03b34c diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -173,7 +173,10 @@ class Main(object): 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")