diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-02-03 19:16:53 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-02-03 19:16:53 (GMT) |
commit | 96b6b6a92bb1021dd4a818a76e1c59af6d682b74 (patch) | |
tree | 3b6b2f5ece8f2b8b384b2d380caf4eeafc8d223b /talogo.py | |
parent | 195b840e6feca6089768941a694ec9832f509006 (diff) |
saving/restoring multiple turtles; fixed turtle selection bug
Diffstat (limited to 'talogo.py')
-rw-r--r-- | talogo.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -402,7 +402,6 @@ class LogoCode: self.procstop = False list = self.readline(str) self.step = self.start_eval(list) - # self.tw.turtle_list.show_all() """ Convert the pseudocode into a list of commands. @@ -574,11 +573,11 @@ class LogoCode: print "step is None" return False except StopIteration: - self.tw.active_turtle.show() + self.tw.turtle_list.show_all() return False except logoerror, e: self.showlabel(str(e)[1:-1]) - self.tw.active_turtle.show() + self.tw.turtle_list.show_all() return False return True |