Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-16 12:02:55 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-16 12:02:55 (GMT)
commite46262988a4f02f1ebbcb6602f8d93fbd1dad907 (patch)
tree767879aa50bf34cd240af2bb45a618530d384d63 /TurtleArt/tawindow.py
parent5cba05500e1700928870703cd4c6d4240d420fce (diff)
fixed reference to wrong class when setting turtle heading
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r--TurtleArt/tawindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 37ea9a1..d2a1970 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -1357,7 +1357,7 @@ class TurtleArtWindow():
if self.sharing(): # share turtle rotation
self.send_event("r|%s" % (
data_to_string([self.selected_turtle.get_name(),
- round_int(self.heading)])))
+ round_int(self.canvas.heading)])))
# If we are hoving, show popup help.
elif self.drag_group is None: