mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 00:51:37 +00:00
Angle control: in some cases angle was set to 360 instead of 0 when clicking on the control.
GLDEFS parser: added a warning when the interval of animated dynamic light is 0. Visual mode: fixed a crash when an angle of animated dynamic light was set to 0 and light animation was enabled. Tag explorer: removed unnecessary mode switching when selecting map elements of the same type.
This commit is contained in:
parent
fb19f62fdb
commit
abb77e4aab
6 changed files with 18 additions and 18 deletions
|
@ -449,6 +449,11 @@ namespace CodeImp.DoomBuilder.VisualModes
|
|||
return;
|
||||
}
|
||||
|
||||
if(interval == 0) {
|
||||
lightRadius = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
float time = General.Clock.CurrentTime;
|
||||
float rMin = Math.Min(lightPrimaryRadius, lightSecondaryRadius);
|
||||
float rMax = Math.Max(lightPrimaryRadius, lightSecondaryRadius);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue