From: buliabyak Date: Sun, 21 May 2006 19:58:54 +0000 (+0000) Subject: fix 1445003 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da533e8eac531e04756a1e835c5aa9cd8fa359c4;p=inkscape.git fix 1445003 --- diff --git a/src/splivarot.cpp b/src/splivarot.cpp index eeb82970b..828c61048 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -574,7 +574,7 @@ sp_selected_path_outline() } { // pas de stroke pas de chocolat - SPCSSAttr *css = sp_repr_css_attr(SP_OBJECT_REPR(item), "style"); + SPCSSAttr *css = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style"); gchar const *val = sp_repr_css_property(css, "stroke", NULL); if (val == NULL || strcmp(val, "none") == 0) { @@ -586,7 +586,7 @@ sp_selected_path_outline() // remember old stroke style, to be set on fill SPCSSAttr *ncss; { - SPCSSAttr *ocss = sp_repr_css_attr(SP_OBJECT_REPR(item), "style"); + SPCSSAttr *ocss = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style"); gchar const *val = sp_repr_css_property(ocss, "stroke", NULL); gchar const *opac = sp_repr_css_property(ocss, "stroke-opacity", NULL);