Code

fix bug with implicit paths
authormental <mental@users.sourceforge.net>
Sat, 12 Aug 2006 07:09:54 +0000 (07:09 +0000)
committermental <mental@users.sourceforge.net>
Sat, 12 Aug 2006 07:09:54 +0000 (07:09 +0000)
share/extensions/simplepath.rb

index 0b6e122bf926f8497d5d1c3a9fa3165d2620a110..7c634fe249b5a5892bd37b6165c0e408b51bfa4c 100755 (executable)
@@ -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]