From 77c66deed54ad8c42422a21e93d048167f4856c9 Mon Sep 17 00:00:00 2001 From: spherallic Date: Mon, 29 Jul 2024 12:22:19 +0200 Subject: [PATCH] Don't filter by edit area when pasting geometry --- .../BuilderModes/ClassicModes/EditSelectionMode.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs index 97c07d70..61fc9a7f 100755 --- a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs @@ -1818,13 +1818,13 @@ namespace CodeImp.DoomBuilder.BuilderModes RectangleF editarea = MapSet.CreateArea(oldlines); // Determine area in which we are editing - if (General.Settings.MergeGeometryMode != MergeGeometryMode.CLASSIC) - { - editarea = MapSet.CreateArea(General.Map.Map.GetMarkedLinedefs(true)); - editarea = MapSet.IncreaseArea(editarea, General.Map.Map.GetMarkedVertices(true)); - editarea.Inflate(1.0f, 1.0f); - //oldlines = MapSet.FilterByArea(oldlines, ref editarea); - } + //if (General.Settings.MergeGeometryMode != MergeGeometryMode.CLASSIC) + //{ + // editarea = MapSet.CreateArea(General.Map.Map.GetMarkedLinedefs(true)); + // editarea = MapSet.IncreaseArea(editarea, General.Map.Map.GetMarkedVertices(true)); + // editarea.Inflate(1.0f, 1.0f); + // //oldlines = MapSet.FilterByArea(oldlines, ref editarea); + //} //mxd. Let's use a blockmap... BlockMap blockmap = new BlockMap(editarea);