mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 08:32:00 +00:00
Fixed incorrect dragging of floor/ceiling textures with "rotationfloor" / "rotationceiling" UDMF property set in GZDoom Visual Mode.
Replaced all doubles with floats. Script Editor: Navigator drop-down now updates automatically. Navigator drop-down now also works for external files. Added Navigator drop-down support for Decorate and Modeldef.
This commit is contained in:
parent
fb0db718a0
commit
8891395b3a
52 changed files with 681 additions and 218 deletions
|
@ -50,7 +50,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
#region ================== Constants
|
||||
|
||||
// Object picking
|
||||
private const double PICK_INTERVAL = 80.0d;
|
||||
private const float PICK_INTERVAL = 80.0f;
|
||||
private const float PICK_RANGE = 0.98f;
|
||||
|
||||
// Gravity
|
||||
|
@ -67,7 +67,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
// Object picking
|
||||
private VisualPickResult target;
|
||||
private double lastpicktime;
|
||||
private float lastpicktime;
|
||||
private bool locktarget;
|
||||
|
||||
// This is true when a selection was made because the action is performed
|
||||
|
@ -508,7 +508,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
}
|
||||
|
||||
// Processing
|
||||
public override void OnProcess(double deltatime)
|
||||
public override void OnProcess(float deltatime)
|
||||
{
|
||||
// Process things?
|
||||
base.ProcessThings = (BuilderPlug.Me.ShowVisualThings != 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue