From 9b6de0eb9e4f09cddd12129a2547dd1ad07552f0 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 27 Jan 2010 11:39:25 +0000 Subject: fixing turtle rotation --- (limited to 'constants.py') diff --git a/constants.py b/constants.py index c1a0b9c..b6dbb9f 100644 --- a/constants.py +++ b/constants.py @@ -81,11 +81,11 @@ STANDARD_STROKE_WIDTH = 1.0 # # block style definitions # -BASIC_STYLE_HEAD = ['start', 'hat1', 'hat2'] +BASIC_STYLE_HEAD = ['start', 'hat1', 'hat2', 'restore'] BASIC_STYLE_HEAD_1ARG = ['hat'] BASIC_STYLE_TAIL = ['stopstack'] BASIC_STYLE = ['clean', 'penup', 'pendown', 'stack1', 'stack2', 'vspace', - 'hideblocks', 'clearheap', 'printheap', 'kbinput', 'restore'] + 'hideblocks', 'clearheap', 'printheap', 'kbinput'] BASIC_STYLE_1ARG = ['forward', 'back', 'left', 'right', 'setheading', 'show', 'setscale', 'setpensize', 'setcolor', 'setshade', 'print', 'settextsize', 'settextcolor', 'print', 'wait', 'storeinbox1', @@ -163,7 +163,7 @@ OLD_NAMES = {'product':'product2', # PRIMITIVES = {'clean':'clean', 'forward':'forward', 'back':'back', 'arc':'arc', - 'left':'left', 'right':'right', 'set heading':'seth', 'scale':'scale', + 'left':'left', 'right':'right', 'setheading':'seth', 'scale':'scale', 'show':'show', 'set scale':'setscale', 'xcor':'xcor', 'setxy':'setxy', 'ycor':'ycor', 'heading':'heading', 'penup':'penup', 'pendown':'pendown', 'setpensize':'setpensize', -- cgit v0.9.1