From 1e42e4af48655e15d9628ff7fcb2822b94f5d677 Mon Sep 17 00:00:00 2001 From: Marion Date: Fri, 09 Aug 2013 12:48:42 +0000 Subject: fix updating the heading label in snail execution mode --- (limited to 'TurtleArt') 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 ''' -- cgit v0.9.1