Open astromediaonly opened 9 months ago
Hi,
The Outpout side is referenced in m_hs_connected.Tolist()
, so you can get it.
But, the Input side seems to be a problem.
if (v.Output == this) lst.Add(v.Input);
v.Output
is deep copy object, so comparison between objects is not valid.
Object.ReferenceEquals cannot be used.
Is there another way around this?
I'm not very good at English and I use online translators a lot, so I'm sorry if my sentences sound weird.
Hi, Im probably understanding something poorly but Im trying to get option connected to my option and it acts like this:
opt.ConnectionCount
returns1
butopt.GetConnectedOption()
returns list of 0 elementsAny idea why this could happen or what Im doing/understanding incorrectly?