Code

Don't group dot creation with pen-/pencil-specific operations in undo history
authorcilix42 <cilix42@users.sourceforge.net>
Sun, 27 Jan 2008 13:58:12 +0000 (13:58 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Sun, 27 Jan 2008 13:58:12 +0000 (13:58 +0000)
src/sp-path.cpp

index 26396c8f0a07657d36b368631fd7383e10d50344..e401d0a2085414b05af36d077bb21937149df29c 100644 (file)
@@ -568,10 +568,8 @@ void freehand_create_single_dot(SPEventContext *ec, NR::Point const &pt, char co
 
     sp_desktop_selection(desktop)->set(item);
 
-    unsigned int tool_code = !strcmp(tool, "tools.freehand.pencil") ? SP_VERB_CONTEXT_PENCIL : SP_VERB_CONTEXT_PEN;
-
     desktop->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Creating single dot"));
-    sp_document_done(sp_desktop_document(desktop), tool_code, _("Create single dot"));
+    sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE, _("Create single dot"));
 }
 
 /*