From: buliabyak Date: Tue, 18 Mar 2008 08:04:37 +0000 (+0000) Subject: use the same colors for clippath and mark helper paths as used in outline mode X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6954ef24d41fa9b2793bf4402951ef77d04ae6ea;p=inkscape.git use the same colors for clippath and mark helper paths as used in outline mode --- diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 2fdf04ca2..eaf68e09e 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2168,7 +2168,10 @@ void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip) shape_editor->set_item(SP_ITEM(child)); Inkscape::NodePath::Path *np = shape_editor->get_nodepath(); if (np) { - np->helperpath_rgba = clip ? 0x0000ffff : 0x800080ff; + // take colors from prefs (same as used in outline mode) + np->helperpath_rgba = clip ? + prefs_get_int_attribute("options.wireframecolors", "clips", 0x00ff00ff) : + prefs_get_int_attribute("options.wireframecolors", "masks", 0x0000ffff); np->helperpath_width = 1.0; sp_nodepath_show_helperpath(np, true); }