From 3833bf4ab91b651ed2c6f13285ce01f1a1c4b0e3 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sun, 20 Oct 2013 21:57:32 +0000 Subject: fix problem with fill share --- (limited to 'TurtleArt/taturtle.py') diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py index b87d0a6..ac72bdb 100644 --- a/TurtleArt/taturtle.py +++ b/TurtleArt/taturtle.py @@ -495,8 +495,12 @@ class Turtle: if self._turtles.turtle_window.sharing() and share: shared_poly_points = [] for p in self._poly_points: - shared_poly_points.append( - (self._turtles.screen_to_turtle_coordinates(p))) + x, y = self._turtles.turtle_to_screen_coordinates( + (p[1], p[2])) + if p[0] in ['move', 'line']: + shared_poly_points.append((p[0], x, y)) + elif p[0] in ['rarc', 'larc']: + shared_poly_points.append((p[0], x, y, p[3], p[4], p[5])) event = 'F|%s' % (data_to_string( [self._turtles.turtle_window.nick, shared_poly_points])) -- cgit v0.9.1