public void FlipSidedefs() { if (linedef.IsDisposed) { throw new ScriptRuntimeException("Linedef has been disposed, can't FlipSidedefs."); } linedef.FlipSidedefs(); }
// Fix by flipping linedefs public override bool Button1Click(bool batchMode) { line.FlipVertices(); //mxd. Otherwise FlipSidedefs() will destroy the sector back side belongs to line.FlipSidedefs(); General.Map.Map.Update(); return(true); }
// Fix by flipping linedefs public override bool Button1Click() { line.FlipSidedefs(); General.Map.Map.Update(); return(true); }