SchematicDrawing : Intersections of pipes drawn as a bow having darker color.
This commit is contained in:
@@ -644,12 +644,12 @@ namespace TBF.UI.Bench.EditSchDrawing
|
||||
|
||||
void DeleteSelectedPipe()
|
||||
{
|
||||
Pipe edge = drawingCtrl.GetTempPipe();
|
||||
if (edge != null)
|
||||
Pipe pipe = drawingCtrl.GetTempPipe();
|
||||
if (pipe != null)
|
||||
{
|
||||
/// Delete selected pipe
|
||||
TBF.BenchControl.Various.Drawing.Pipes.Configuration pipesCfg = null;
|
||||
switch (edge.Sz)
|
||||
switch (pipe.Sz)
|
||||
{
|
||||
case Sz.S: pipesCfg = pipesScfg; break;
|
||||
case Sz.M: pipesCfg = pipesMcfg; break;
|
||||
@@ -664,7 +664,7 @@ namespace TBF.UI.Bench.EditSchDrawing
|
||||
int ix = -1;
|
||||
for (int i = 0; i < oriEdges.Length; i++)
|
||||
{
|
||||
if (oriEdges[i] == edge.ToString())
|
||||
if (oriEdges[i] == pipe.ToString())
|
||||
{
|
||||
ix = i;
|
||||
break;
|
||||
@@ -683,7 +683,7 @@ namespace TBF.UI.Bench.EditSchDrawing
|
||||
}
|
||||
}
|
||||
|
||||
switch (edge.Sz)
|
||||
switch (pipe.Sz)
|
||||
{
|
||||
case Sz.S: drawingCtrl.PipesS = pipesCfg.Pipes; break;
|
||||
case Sz.M: drawingCtrl.PipesM = pipesCfg.Pipes; break;
|
||||
|
||||
Reference in New Issue
Block a user