You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
datasmith: fix broken sanitation introduced in CL 18236389
#ROBOMERGE-AUTHOR: johan.duparc #ROBOMERGE-SOURCE: CL 18281797 in //UE5/Release-5.0/... via CL 18281809 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18281822 by johan duparc in ue5-release-engine-test branch]
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
virtual bool IsA( EDatasmithElementType InType ) const override { return EnumHasAnyFlags( GetElementType(), InType); }
|
||||
|
||||
virtual const TCHAR* GetName() const override { return *Name.Get(); }
|
||||
virtual void SetName(const TCHAR* InName) override { Name = InName; }
|
||||
virtual void SetName(const TCHAR* InName) override { Name = FDatasmithUtils::SanitizeObjectName(InName); }
|
||||
|
||||
virtual const TCHAR* GetLabel() const override { const FString& Tmp = Label.Get(); return Tmp.IsEmpty() ? GetName() : *Tmp; }
|
||||
virtual void SetLabel(const TCHAR* InLabel) override { Label = FDatasmithUtils::SanitizeObjectName(InLabel); }
|
||||
|
||||
Reference in New Issue
Block a user