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 to Questions & Answers just mention UE-84942 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.22
CreatedNov 22, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021