Exemplo n.º 1
0
 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);
 }
Exemplo n.º 3
0
 // Fix by flipping linedefs
 public override bool Button1Click()
 {
     line.FlipSidedefs();
     General.Map.Map.Update();
     return(true);
 }