Ignore:
Timestamp:
2010-10-19T21:53:39+02:00 (15 years ago)
Author:
upliner
Message:

importvec bugfixes, first working version

Location:
applications/editors/josm/plugins/importvec/src/com/kitfox/svg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/importvec/src/com/kitfox/svg/SVGElement.java

    r23707 r23712  
    419419    public void loaderEndElement(SVGLoaderHelper helper) throws SVGParseException
    420420    {
     421        try
     422        {
     423            build();
     424        }
     425        catch (SVGException se)
     426        {
     427            throw new SVGParseException(se);
     428        }
    421429    }
    422430   
  • applications/editors/josm/plugins/importvec/src/com/kitfox/svg/Use.java

    r23707 r23712  
    103103        if (getPres(sty.setName("height"))) height = sty.getFloatValueWithUnits();
    104104
    105         /*if (getPres(sty.setName("xlink:href")))
     105        if (getPres(sty.setName("xlink:href")))
    106106        {
    107107            URI src = sty.getURIValue(getXMLBase());
    108             href = diagram.getUniverse().getElement(src);
    109         }*/
     108            href = diagram.getElement(src.getFragment());
     109        }
    110110       
    111111        //Determine use offset/scale
Note: See TracChangeset for help on using the changeset viewer.