summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7691e5a)
raw | patch | inline | side by side (parent: 7691e5a)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 18 Mar 2008 08:04:37 +0000 (08:04 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 18 Mar 2008 08:04:37 +0000 (08:04 +0000) |
src/selection-chemistry.cpp | patch | blob | history |
index 2fdf04ca2e2ac356854be69f81b35267c8b86f2f..eaf68e09ed908f33475e974f7b99b31c8407ead4 100644 (file)
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);
}