Code

allow float lengths back
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 12 May 2008 14:55:25 +0000 (14:55 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 12 May 2008 14:55:25 +0000 (14:55 +0000)
share/extensions/addnodes.py

index af59a0d67ca559f86c420f847494c94b262460e9..b12f440d747e6718a61873459aac1b9e8f443c4e 100644 (file)
@@ -70,7 +70,7 @@ class SplitIt(inkex.Effect):
                         dest="segments", default=2,
                         help="Number of segments to divide the path into")
         self.OptionParser.add_option("--max",
-                        action="store", type="int", 
+                        action="store", type="float", 
                         dest="max", default=2,
                         help="Number of segments to divide the path into")
         self.OptionParser.add_option("--method",