Make a note of the reason why component isn't editable on level instances

This commit is contained in:
Steve Streeting 2021-09-14 12:13:12 +01:00
parent 056bae4719
commit c67a0793bb

View File

@ -11,6 +11,7 @@ UStevesEditorVisComponent::UStevesEditorVisComponent(const FObjectInitializer& O
PrimaryComponentTick.bCanEverTick = false;
SetCastShadow(false);
#if WITH_EDITORONLY_DATA
// Note: this makes this component invisible on level instances, not sure why
SetIsVisualizationComponent(true);
#endif
SetHiddenInGame(true);