From 38d126ac641ed041c845ff13adf3837bd2dc3a67 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Mon, 23 Nov 2020 12:43:11 +0000 Subject: [PATCH] Init state --- .../Private/StevesUI/RichTextBlockInputImageDecorator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/StevesUEHelpers/Private/StevesUI/RichTextBlockInputImageDecorator.cpp b/Source/StevesUEHelpers/Private/StevesUI/RichTextBlockInputImageDecorator.cpp index eb11ea0..853c693 100644 --- a/Source/StevesUEHelpers/Private/StevesUI/RichTextBlockInputImageDecorator.cpp +++ b/Source/StevesUEHelpers/Private/StevesUI/RichTextBlockInputImageDecorator.cpp @@ -29,16 +29,16 @@ class SRichInlineInputImage : public SCompoundWidget { protected: /// What type of an input binding this image should look up - EInputBindingType BindingType; + EInputBindingType BindingType = EInputBindingType::Key; /// If BindingType is Action/Axis, the name of it FName ActionOrAxisName; /// If BindingType is Key, the key FKey Key; /// Player index, if binding type is action or axis - int PlayerIndex; + int PlayerIndex = 0; /// Theme, if any - UUiTheme* CustomTheme; - UWorld* WorldContext; + UUiTheme* CustomTheme = nullptr; + UWorld* WorldContext = nullptr; FSlateBrush Brush;