Don't filter by edit area when pasting geometry

This commit is contained in:
spherallic 2024-07-29 12:22:19 +02:00
parent 3cea453502
commit 77c66deed5

View file

@ -1818,13 +1818,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
RectangleF editarea = MapSet.CreateArea(oldlines); RectangleF editarea = MapSet.CreateArea(oldlines);
// Determine area in which we are editing // Determine area in which we are editing
if (General.Settings.MergeGeometryMode != MergeGeometryMode.CLASSIC) //if (General.Settings.MergeGeometryMode != MergeGeometryMode.CLASSIC)
{ //{
editarea = MapSet.CreateArea(General.Map.Map.GetMarkedLinedefs(true)); // editarea = MapSet.CreateArea(General.Map.Map.GetMarkedLinedefs(true));
editarea = MapSet.IncreaseArea(editarea, General.Map.Map.GetMarkedVertices(true)); // editarea = MapSet.IncreaseArea(editarea, General.Map.Map.GetMarkedVertices(true));
editarea.Inflate(1.0f, 1.0f); // editarea.Inflate(1.0f, 1.0f);
//oldlines = MapSet.FilterByArea(oldlines, ref editarea); // //oldlines = MapSet.FilterByArea(oldlines, ref editarea);
} //}
//mxd. Let's use a blockmap... //mxd. Let's use a blockmap...
BlockMap<BlockEntry> blockmap = new BlockMap<BlockEntry>(editarea); BlockMap<BlockEntry> blockmap = new BlockMap<BlockEntry>(editarea);