summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-29 14:56:10 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-29 14:56:10 +0000
commite1d22472600d964b740346eb7d4500ffce1b93f3 (patch)
treec0dc8054054a12e7750c610ba05b89662adfbd25 /src/shape-editor.cpp
parentautomatically add helperpath for PathParams (diff)
downloadinkscape-e1d22472600d964b740346eb7d4500ffce1b93f3.tar.gz
inkscape-e1d22472600d964b740346eb7d4500ffce1b93f3.zip
Remove now obsolete functions
(bzr r6458)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 4c182788f..c88b5eb3f 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -234,16 +234,7 @@ void ShapeEditor::set_item(SPItem *item, SubType type, bool keep_knotholder) {
switch(type) {
case SH_NODEPATH:
if (SP_IS_LPE_ITEM(item)) {
- //SPLPEItem *lpeitem = SP_LPE_ITEM(item);
- //Inkscape::LivePathEffect::Effect *lpe = sp_lpe_item_get_current_lpe(lpeitem);
- //if (!(lpe && lpe->isVisible() && lpe->providesKnotholder())) {
- // only create nodepath if the item either doesn't have an LPE
- // 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));
- //} else if (lpe && lpe->isVisible()) {
- // sp_lpe_item_add_temporary_canvasitems(lpeitem, desktop);
- //}
+ this->nodepath = sp_nodepath_new(desktop, item, (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0));
}
if (this->nodepath) {
this->nodepath->shape_editor = this;