This commit is contained in:
2026-04-09 22:10:43 -04:00
parent 224e6604e6
commit d98c0081e6
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ class UWing_GraphNode_SearchTypes : public UWingHandler
GENERATED_BODY() GENERATED_BODY()
public: public:
UPROPERTY(EditAnywhere, meta=(Description="Query string, can contain *")) UPROPERTY(EditAnywhere, meta=(Description="Query string, can contain * wildcards"))
FString Query; FString Query;
UPROPERTY(EditAnywhere, meta=(Optional, Description="Maximum number of results (default 50)")) UPROPERTY(EditAnywhere, meta=(Optional, Description="Maximum number of results (default 50)"))
@@ -31,9 +31,8 @@ public:
virtual void Register() override virtual void Register() override
{ {
UWingServer::AddHandler(this, UWingServer::AddHandler(this,
TEXT("Search the action database for node types that can be spawned in a graph. " TEXT("Search for node types that can be spawned in a graph. "
"Works with any graph type (Blueprint, Material, etc.). " "Pass a string returned by this function to GraphNode_Add."));
"Returns full action names for use with GraphNode_Add."));
} }
virtual void Handle() override virtual void Handle() override
{ {

View File

@@ -359,6 +359,7 @@ FString FWingProperty::GetTruncatedText(int32 MaxLen) const
void FWingProperty::Print(WingOut Out) const void FWingProperty::Print(WingOut Out) const
{ {
bool bEditable = !Prop->HasAnyPropertyFlags(CPF_EditConst); bool bEditable = !Prop->HasAnyPropertyFlags(CPF_EditConst);
if (Editable) bEditable = true;
Out.Printf(TEXT(" %s %s %s = %s\n"), Out.Printf(TEXT(" %s %s %s = %s\n"),
bEditable ? TEXT("editable") : TEXT("readonly"), bEditable ? TEXT("editable") : TEXT("readonly"),
*UWingTypes::TypeToText(Prop), *UWingTypes::TypeToText(Prop),