A tweak
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user