From e2646c90183d4714972ab480465fcd99f4fa26f1 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 10 Feb 2010 23:30:07 +0000 Subject: fixed flow problem --- diff --git a/tawindow.py b/tawindow.py index 3ea29e3..7b70da3 100644 --- a/tawindow.py +++ b/tawindow.py @@ -1231,8 +1231,12 @@ class TurtleArtWindow(): while b is not None: if b.name in COLLAPSIBLE: return None + if b.name in ['repeat', 'if', 'ifelse']: + if blk != b.connections[len(b.connections)-1]: + return None if b.name == 'sandwichtop': return b + blk = b b = b.connections[0] return None -- cgit v0.9.1