summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-05-19 17:02:06 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-05-19 17:02:06 +0000
commit9b424870613f4b345cf64bdfcb03889077a0597a (patch)
tree9b5251a8c8cff0c47b82bd7f2c0aafd22a2b85b0 /src/shape-editor.cpp
parentApplying several of Inductiveload's enhancements and fixes to his extensions.... (diff)
downloadinkscape-9b424870613f4b345cf64bdfcb03889077a0597a.tar.gz
inkscape-9b424870613f4b345cf64bdfcb03889077a0597a.zip
Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied to the object)
(bzr r5711)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index f0bec7ba9..40e92e0dd 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -192,9 +192,10 @@ void ShapeEditor::set_item(SPItem *item) {
if (item) {
SPLPEItem *lpeitem = SP_LPE_ITEM(item);
if (!sp_lpe_item_has_path_effect(lpeitem) ||
+ !sp_lpe_item_get_livepatheffect(lpeitem)->isVisible() ||
!sp_lpe_item_get_livepatheffect(lpeitem)->providesKnotholder()) {
// only create nodepath if the item either doesn't have an LPE
- // or the LPE doesn't provide a knotholder itself
+ // or the LPE is invisible or it doesn't provide a knotholder itself
this->nodepath =
sp_nodepath_new(desktop, item, (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0));
}