[Libreoffice-commits] core.git: librelogo/source
László Németh
nemeth at numbertext.org
Tue Jun 25 17:49:42 PDT 2013
librelogo/source/LibreLogo/LibreLogo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ee311c55c999a68aa677faac69b3462975ad05d4
Author: László Németh <nemeth at numbertext.org>
Date: Wed Jun 26 02:00:51 2013 +0200
fdo#66180 librelogo: clockwise HEADING
Change-Id: I1154b29119fd3fbb30d50246e94b3906bea24220
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index 4b66ae3..bf925c8 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -722,7 +722,7 @@ def turnright(deg):
def heading(deg = -1, go = False):
turtle = __getshape__(__TURTLE__)
if deg == -1:
- return turtle.RotateAngle / 100
+ return -turtle.RotateAngle / 100 + 360
else:
if deg == u'any':
turtle.RotateAngle = random.random() * 36000
More information about the Libreoffice-commits
mailing list