mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
Merge pull request #1202 from PepperDash/feature-2.0.0/display-feedback-fix
Set CurrentSourceKey correctly & in the correct order
This commit is contained in:
commit
4449077a39
1 changed files with 5 additions and 3 deletions
|
|
@ -175,6 +175,7 @@ namespace PepperDash.Essentials.Core.Routing
|
||||||
});
|
});
|
||||||
|
|
||||||
var source = sourceListItem.Value;
|
var source = sourceListItem.Value;
|
||||||
|
var sourceKey = sourceListItem.Key;
|
||||||
|
|
||||||
if (source == null)
|
if (source == null)
|
||||||
{
|
{
|
||||||
|
|
@ -186,15 +187,16 @@ namespace PepperDash.Essentials.Core.Routing
|
||||||
Name = sourceTieLine.SourcePort.Key,
|
Name = sourceTieLine.SourcePort.Key,
|
||||||
};
|
};
|
||||||
|
|
||||||
destination.CurrentSourceInfo = tempSourceListItem; ;
|
|
||||||
destination.CurrentSourceInfoKey = "$transient";
|
destination.CurrentSourceInfoKey = "$transient";
|
||||||
|
destination.CurrentSourceInfo = tempSourceListItem;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Debug.LogMessage(Serilog.Events.LogEventLevel.Verbose, "Got Source {source}", this, source);
|
//Debug.LogMessage(Serilog.Events.LogEventLevel.Verbose, "Got Source {@source} with key {sourceKey}", this, source, sourceKey);
|
||||||
|
|
||||||
|
destination.CurrentSourceInfoKey = sourceKey;
|
||||||
destination.CurrentSourceInfo = source;
|
destination.CurrentSourceInfo = source;
|
||||||
destination.CurrentSourceInfoKey = source.SourceKey;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private TieLine GetRootTieLine(TieLine tieLine)
|
private TieLine GetRootTieLine(TieLine tieLine)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue