mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Toggling visual sloping is now only possible in UDMF
This commit is contained in:
parent
0911a3a9a4
commit
f80159d528
1 changed files with 12 additions and 0 deletions
|
@ -4341,6 +4341,12 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
[BeginAction("togglevisualslopepicking")]
|
||||
public void ToggleVisualSidedefSlopePicking()
|
||||
{
|
||||
if (!General.Map.UDMF)
|
||||
{
|
||||
General.Interface.DisplayStatus(StatusType.Warning, "Visual sloping is supported in UDMF only!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (pickingmode != PickingMode.SidedefSlopeHandles)
|
||||
pickingmode = PickingMode.SidedefSlopeHandles;
|
||||
else
|
||||
|
@ -4361,6 +4367,12 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
[BeginAction("togglevisualvertexslopepicking")]
|
||||
public void ToggleVisualVertexSlopePicking()
|
||||
{
|
||||
if (!General.Map.UDMF)
|
||||
{
|
||||
General.Interface.DisplayStatus(StatusType.Warning, "Visual sloping is supported in UDMF only!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (pickingmode != PickingMode.VertexSlopeHandles)
|
||||
pickingmode = PickingMode.VertexSlopeHandles;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue