diff options
author | Marion <marion.zepf@gmail.com> | 2013-08-09 12:48:42 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-08-09 12:48:42 (GMT) |
commit | 1e42e4af48655e15d9628ff7fcb2822b94f5d677 (patch) | |
tree | 901749235c2e5e0e446f1c20924caf1c70cf050d /TurtleArt | |
parent | b0ddc5ccbfcf839e5dce2ccd2b784ab8ff4c4b33 (diff) |
fix updating the heading label in snail execution mode
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tabasics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 04a74d1..36bb2a9 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -1073,7 +1073,7 @@ variable')) self.tw.coord_scale) self.tw.lc.update_label_value( 'heading', - self.tw.turtles.get_active_turtle().get_heading) + self.tw.turtles.get_active_turtle().get_heading()) def _prim_box(self, x): ''' Retrieve value from named box ''' @@ -1172,7 +1172,7 @@ variable')) if self.tw.lc.update_values: self.tw.lc.update_label_value( 'heading', - self.tw.turtles.get_active_turtle().get_heading) + self.tw.turtles.get_active_turtle().get_heading()) def _prim_set(self, name, cmd, value=None): ''' Set a value and update the associated value blocks ''' |