Code

Alvin Penner's fix for bug 235861
authorsasilver <sasilver@users.sourceforge.net>
Fri, 30 May 2008 09:39:13 +0000 (09:39 +0000)
committersasilver <sasilver@users.sourceforge.net>
Fri, 30 May 2008 09:39:13 +0000 (09:39 +0000)
share/extensions/lindenmayer.py

index e690e003c097d3ec9aeca7e991ef06785ed6c7b7..daa002b89c3f079ec2c6f70ed34e215a6d350879 100755 (executable)
@@ -56,6 +56,9 @@ class LSystem(inkex.Effect):
                         action="store", type="string", 
                         dest="rules", default="F=FF-[-F+F+F]+[+F-F-F]",
                         help="replacement rules")
+        self.OptionParser.add_option("-t", "--tab",
+                        action="store", type="string",
+                        dest="tab")
         self.stack = []
         self.turtle = pturtle.pTurtle()
     def iterate(self):