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:
MaxED 2012-07-12 22:34:12 +00:00
parent fb0db718a0
commit 8891395b3a
52 changed files with 681 additions and 218 deletions

View file

@ -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);