mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-20 10:53:19 +00:00
no more seperate undo level for stitched geometry (since the user can easily choose stitching during drag/draw)
This commit is contained in:
parent
51f57471c7
commit
7c57f39a13
1 changed files with 0 additions and 6 deletions
|
@ -736,9 +736,6 @@ namespace CodeImp.DoomBuilder.Map
|
|||
movingverts = General.Map.Map.GetMarkedVertices(true);
|
||||
fixedverts = General.Map.Map.GetMarkedVertices(false);
|
||||
|
||||
// Make undo for the stitching
|
||||
stitchundo = General.Map.UndoRedo.CreateUndo("stitch geometry", UndoGroup.None, 0);
|
||||
|
||||
// Find lines that moved during the drag
|
||||
movinglines = LinedefsFromMarkedVertices(false, true, true);
|
||||
|
||||
|
@ -770,9 +767,6 @@ namespace CodeImp.DoomBuilder.Map
|
|||
// Join overlapping lines
|
||||
stitches += MapSet.JoinOverlappingLines(movinglines);
|
||||
|
||||
// No stitching done? then withdraw undo
|
||||
if(stitches == 0) General.Map.UndoRedo.WithdrawUndo(stitchundo);
|
||||
|
||||
return stitches;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue