Description

IsVisible()/IsVisibleInEditor() should be a contribute to the logic in ShouldRender().

NOTE: This code was written during the UE3 life cycle.

Found in 4.22 CL#7053642

Steps to Reproduce

1. Open a 4.22 project.
2. Open USceneComponent.cpp at Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp.
3. Go to line 2890 for ShouldRender() and line 2884 for IsVisibleEditor().

Result: ShouldRender() never checks against IsVisibleInEditor().

Expected: ShouldRender() checks against IsVisibleInEditor().

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-84942 in the post.

1
Login to Vote

Unresolved
ComponentRendering
Affects Versions4.22
Target Fix4.25
CreatedNov 22, 2019
UpdatedNov 24, 2019