From: mental Date: Sat, 12 Aug 2006 07:09:54 +0000 (+0000) Subject: fix bug with implicit paths X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b8479bf7d4f211f77d10c09ae1829bd2d1bfa524;p=inkscape.git fix bug with implicit paths --- diff --git a/share/extensions/simplepath.rb b/share/extensions/simplepath.rb index 0b6e122bf..7c634fe24 100755 --- a/share/extensions/simplepath.rb +++ b/share/extensions/simplepath.rb @@ -96,6 +96,9 @@ def parsePath(d) outputCommand = command.upcase else raise 'Invalid number of parameters' if isCommand + end + + unless isCommand param = token.send PATHDEFS[outputCommand].casts[params.length] if command =~ /[a-z]/ case PATHDEFS[outputCommand].coord_types[params.length]