mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Fixed an issue in Edit Selection Mode that could cause Out Of Memory exceptions with vertices that are slightly off grid in the 32 bit version
This commit is contained in:
parent
4fd976feb9
commit
fd41361f6d
1 changed files with 4 additions and 0 deletions
|
@ -1725,6 +1725,10 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
//mxd. We'll need sidedefs marked by StitchGeometry, not all sidedefs from selection...
|
||||
General.Map.Map.ClearMarkedSidedefs(false);
|
||||
|
||||
// Snap to map format accuracy. We need to do that before stitching geometry because vertices that are very very slightly off the grid (like 0.00001) can
|
||||
// cause problems with BlockMapGetBlockCoordinates in the 32bit version
|
||||
General.Map.Map.SnapAllToAccuracy(General.Map.UDMF && usepreciseposition);
|
||||
|
||||
// Stitch geometry
|
||||
General.Map.Map.StitchGeometry(General.Settings.MergeGeometryMode);
|
||||
|
||||
|
|
Loading…
Reference in a new issue