mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 08:32:00 +00:00
Rectangular Selection: removed direction-based additive/subtractive selection. You can now hold Ctrl to enable subtractive selection, hold Ctrl-Shift to intersect with existing selection.
Point Thing at Cursor action: action now works when used from menu, changed default shortcut to Shift-L. You can now hold Ctrl to point Things away from cursor.
This commit is contained in:
parent
8f40e113fe
commit
043590100b
13 changed files with 334 additions and 274 deletions
|
@ -537,7 +537,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
//move things...
|
||||
if (!absolutePosition) { //...relatively (that's easy)
|
||||
int camAngle = (int)Math.Round(General.Map.VisualCamera.AngleXY * 180 / Math.PI);
|
||||
int sector = (int)(General.ClampAngle(camAngle - 45f) / 90f);
|
||||
int sector = General.ClampAngle(camAngle - 45) / 90;
|
||||
direction = direction.GetRotated((float)(sector * Math.PI / 2f));
|
||||
|
||||
for (int i = 0; i < coordinates.Length; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue