diff options
author | Marion <marion.zepf@gmail.com> | 2013-07-05 09:41:45 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-07-05 09:41:45 (GMT) |
commit | f5f60856ba3a8101b0935cc14483eec3050c08fd (patch) | |
tree | a62461481b9765bdfd16cb34935982801d0e314e /TurtleArt/tabasics.py | |
parent | aca7f3c6f95b483e38434a435a63db663c9e4593 (diff) | |
parent | b82a48a9b11ec53c3a2278dab88f710b7c1a5611 (diff) |
Merge branch 'master' into running-turtleart
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r-- | TurtleArt/tabasics.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index fb2a186..04a74d1 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -390,7 +390,7 @@ in place of a number block)'), self.tw.lc.def_prim( 'color', 0, - lambda self: self.tw.turtles.get_active_turtle().get_color) + lambda self: self.tw.turtles.get_active_turtle().get_color()) palette.add_block('shade', style='box-style', @@ -402,7 +402,7 @@ in place of a number block)'), self.tw.lc.def_prim( 'shade', 0, - lambda self: self.tw.turtles.get_active_turtle().get_shade) + lambda self: self.tw.turtles.get_active_turtle().get_shade()) palette.add_block('gray', style='box-style', @@ -412,7 +412,7 @@ used in place of a number block)'), value_block=True, prim_name='gray') self.tw.lc.def_prim('gray', 0, lambda self: - self.tw.turtles.get_active_turtle().get_gray) + self.tw.turtles.get_active_turtle().get_gray()) palette.add_block('penup', style='basic-style-extended-vertical', @@ -486,7 +486,7 @@ in place of a number block)'), self.tw.lc.def_prim( 'pensize', 0, - lambda self: self.tw.turtles.get_active_turtle().get_pen_size) + lambda self: self.tw.turtles.get_active_turtle().get_pen_size()) define_logo_function('tapensize', 'to tapensize\noutput first round \ pensize\nend\n') |