Code

fix FIXME: remove setting knotholder to NULL, because it is already nulled by unset_item
authorjohanengelen <johanengelen@users.sourceforge.net>
Wed, 12 Mar 2008 20:25:06 +0000 (20:25 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Wed, 12 Mar 2008 20:25:06 +0000 (20:25 +0000)
src/shape-editor.cpp

index b8eaca7a7c0d9246f8e07c9ef57b072bb6402529..b1da900f40a3153d2a38244ec60151bd33536f90 100644 (file)
@@ -220,8 +220,6 @@ void ShapeEditor::set_item_lpe_path_parameter(SPItem *item, SPObject *lpeobject,
     this->grab_node = -1;
 
     if (lpeobject) {
-        // FIXME ? just setting knotholder to NULL... not necessary to delete it ?
-        this->knotholder = NULL; // it's a path, no special knotholder needed.
         this->nodepath = sp_nodepath_new( desktop, lpeobject,
                                           (prefs_get_int_attribute("tools.nodes", "show_handles", 1) != 0),
                                           key, item);