mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 05:41:45 +00:00
Nodes Viewer Mode: the mode will not engage anymore if ZNODES are found, do to ZDBSP reordering the vertices when rebuilding the nodes. Addresses #659
This commit is contained in:
parent
f8bb87e143
commit
cb24e346ef
1 changed files with 8 additions and 0 deletions
|
@ -839,6 +839,14 @@ namespace CodeImp.DoomBuilder.Plugins.NodesViewer
|
|||
//mxd
|
||||
if(haveZnodes)
|
||||
{
|
||||
// For whatever reason ZDBSP reorders the vertices when building the nodes, so if the map was modified in UDB
|
||||
// and then the Nodes Viewer is engaged the vertices in the ZNODES are not the same, resulting in an incorrect
|
||||
// view or even a crash.
|
||||
// See https://github.com/jewalky/UltimateDoomBuilder/issues/659
|
||||
General.Interface.DisplayStatus(StatusType.Warning, "ZNODES are currently not supported.");
|
||||
General.Editing.CancelMode();
|
||||
return;
|
||||
|
||||
General.Interface.DisplayStatus(StatusType.Busy, "Reading map nodes...");
|
||||
if(!LoadZNodes())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue