mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
Fixed, Visual mode: hitbox height of vertex handles was 2x higher than it's supposed to be.
This commit is contained in:
parent
07ef66315d
commit
fd52810312
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
SetPosition(pos);
|
||||
|
||||
float radius = DEFAULT_SIZE * General.Settings.GZVertexScale3D;
|
||||
boxp1 = new Vector3D(pos.x - radius, pos.y - radius, pos.z - radius);
|
||||
boxp2 = new Vector3D(pos.x + radius, pos.y + radius, pos.z + radius);
|
||||
boxp1 = new Vector3D(pos.x - radius, pos.y - radius, (ceilingVertex ? pos.z - radius : pos.z));
|
||||
boxp2 = new Vector3D(pos.x + radius, pos.y + radius, (ceilingVertex ? pos.z : pos.z + radius));
|
||||
|
||||
changed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue