Channels missing in client (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    if u use tve3 then the one under plugins.
    if u use tve2 (built in) then use the one in MP setup.

    This confusion will soon be sorted out.

    /Gibman
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    kewl...Ill put it in SVN.

    It just needed the usual code guard.

    Before actually calling .count on an object, u have to make sure that it isnt a null object.

    IList radioChannels = layer.GetAllRadioChannels();
    if (radioChannels != null)// GUARD NEEDED !!
    {
    if (radioChannels.Count > allRadioChannelsGroup.ReferringRadioGroupMap().Count)

    ...yadadad
    }

    it failed on radioChannels.Count

    /Gibman
     

    Users who are viewing this thread

    Top Bottom