disguise-one / RenderStream-UE

RenderStream plugin for Unreal Engine
BSD 3-Clause "New" or "Revised" License
69 stars 23 forks source link

URenderStreamChannelDefinition::GetVisibility returns incorrect value #31

Closed eclazi closed 2 years ago

eclazi commented 2 years ago

There's a typo in one of the RenderStreamChannelDefinition blueprint helper methods.

bool URenderStreamChannelDefinition::GetVisibility(AActor* Actor) const
{
    return DefaultVisibility == EVisibilty::Visible
        ? Hidden.Contains(Actor)
        : Visible.Contains(Actor);
}

should be !Hidden.Contains(Actor) rather than Hidden.Contains(Actor) (it's missing the "!")

MunWolf commented 2 years ago

Fixed in 1.27+