generic undo name for dragging

This commit is contained in:
codeimp 2008-04-13 11:58:13 +00:00
parent a3fab2f666
commit 0dd329bb5e

View file

@ -241,7 +241,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Editing
MoveGeometryRelative(new Vector2D(0f, 0f), false, false); MoveGeometryRelative(new Vector2D(0f, 0f), false, false);
// Make undo for the dragging // Make undo for the dragging
General.Map.UndoRedo.CreateUndo("drag vertices", UndoGroup.None, 0); General.Map.UndoRedo.CreateUndo("drag", UndoGroup.None, 0);
// Move selected geometry to final position // Move selected geometry to final position
MoveGeometryRelative(mousemappos - dragstartmappos, snaptogrid, snaptonearest); MoveGeometryRelative(mousemappos - dragstartmappos, snaptogrid, snaptonearest);