diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-04-21 22:18:49 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-04-23 21:37:56 +0000 |
| commit | ad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf (patch) | |
| tree | 130e3ba2d114229c6840000ee03fb8d3616fbf8b /src/attributes.cpp | |
| parent | Remove some documents updates (diff) | |
| download | inkscape-ad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf.tar.gz inkscape-ad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf.zip | |
Fix promote d
Diffstat (limited to 'src/attributes.cpp')
| -rw-r--r-- | src/attributes.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp index 6522563af..7a3916f6d 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -138,7 +138,6 @@ static SPStyleProp const props[] = { {SP_ATTR_X, "x"}, {SP_ATTR_Y, "y"}, /* SPPath */ - {SP_ATTR_D, "d"}, {SP_ATTR_INKSCAPE_ORIGINAL_D, "inkscape:original-d"}, /* (Note: XML representation of connectors may change in future.) */ {SP_ATTR_CONNECTOR_TYPE, "inkscape:connector-type"}, @@ -422,6 +421,9 @@ static SPStyleProp const props[] = { /* CSS & SVG Properites */ + /* SVG 2 Attributes promoted to properties */ + {SP_ATTR_D, "d"}, + /* Paint */ {SP_PROP_COLOR, "color"}, {SP_PROP_OPACITY, "opacity"}, @@ -552,6 +554,7 @@ static SPStyleProp const props[] = { /* LivePathEffect */ {SP_PROP_PATH_EFFECT, "effect"}, + }; #define n_attrs (sizeof(props) / sizeof(props[0])) |
