diff --git a/Source/BUIValidator/Private/BUIEditorValidator_RequiredProperty.cpp b/Source/BUIValidator/Private/BUIEditorValidator_RequiredProperty.cpp index 5113a73..9a7fa31 100644 --- a/Source/BUIValidator/Private/BUIEditorValidator_RequiredProperty.cpp +++ b/Source/BUIValidator/Private/BUIEditorValidator_RequiredProperty.cpp @@ -1,7 +1,6 @@ // Copyright ben ui. All Rights Reserved. #include "BUIEditorValidator_RequiredProperty.h" -#include "Engine/Texture2D.h" #include "UObject/UnrealType.h" #define LOCTEXT_NAMESPACE "BUIEditorValidator" @@ -9,7 +8,6 @@ const FName UBUIEditorValidator_RequiredProperty::PropertyName = "BUIRequired"; UBUIEditorValidator_RequiredProperty::UBUIEditorValidator_RequiredProperty() - : Super() { bIsEnabled = true; } @@ -70,8 +68,7 @@ EDataValidationResult UBUIEditorValidator_RequiredProperty::ValidateLoadedAsset_ AssetFails(InAsset, FText::FormatNamed( LOCTEXT("BUIValidatorError_NotSet", "Property '{PropertyName}' is not set. All variables marked with '{BUIMetaName}' must be set to non-null"), "PropertyName", ObjProp->GetDisplayNameText(), - "BUIMetaName", FText::FromName(PropertyName)), - ValidationErrors); + "BUIMetaName", FText::FromName(PropertyName))); } } } diff --git a/Source/BUIValidator/Private/BUIEditorValidator_Textures.cpp b/Source/BUIValidator/Private/BUIEditorValidator_Textures.cpp index bb583ae..0c27eeb 100644 --- a/Source/BUIValidator/Private/BUIEditorValidator_Textures.cpp +++ b/Source/BUIValidator/Private/BUIEditorValidator_Textures.cpp @@ -9,7 +9,6 @@ #define LOCTEXT_NAMESPACE "BUIEditorValidator" UBUIEditorValidator_Textures::UBUIEditorValidator_Textures() - : Super() { bIsEnabled = true; }