- Tools.DrawLines no longer snaps the geometry to map format accuracy. Use General.Map.Map.SnapAllToAccuracy() to compensate.

This commit is contained in:
codeimp 2010-01-02 21:28:18 +00:00
parent b0dfbc0df9
commit ed9f393fb1
2 changed files with 3 additions and 3 deletions

View file

@ -1380,9 +1380,6 @@ namespace CodeImp.DoomBuilder.Geometry
if((newlines[i].Front == null) && (newlines[i].Back == null)) newlines[i].Dispose();
}
}
// Snap to map format accuracy
General.Map.Map.SnapAllToAccuracy();
// Mark new geometry only
General.Map.Map.ClearMarkedLinedefs(false);

View file

@ -410,6 +410,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Make the drawing
Tools.DrawLines(points);
// Snap to map format accuracy
General.Map.Map.SnapAllToAccuracy();
// Clear selection
General.Map.Map.ClearAllSelected();