mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 07:01:55 +00:00
generic undo name for dragging
This commit is contained in:
parent
a3fab2f666
commit
0dd329bb5e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue