diff --git a/Content/Widgets/WB_Hotkey_Action.uasset b/Content/Widgets/WB_Hotkey_Action.uasset index abcffe36..13829f3a 100644 --- a/Content/Widgets/WB_Hotkey_Action.uasset +++ b/Content/Widgets/WB_Hotkey_Action.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:64cdca92aaa13ffb556cf8a24805127a2e42cb882458d29cfa4f7bb50492fe33 -size 38872 +oid sha256:88695ebd7d3369e1a3c643c4a8b1fd21117e10473d30d0f7a1b0f130025b76ad +size 40300 diff --git a/Content/Widgets/WB_Hotkeys.uasset b/Content/Widgets/WB_Hotkeys.uasset index 03e72a2f..ae114a06 100644 --- a/Content/Widgets/WB_Hotkeys.uasset +++ b/Content/Widgets/WB_Hotkeys.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54dbf0e29b1c24d490bca37ef178a85a1d9d8ac970f9409ffbdf0fa38ea5b711 -size 253564 +oid sha256:ae8340945d4aa2d20fdd66eb12ac447ef909c12241713201c5ed541a7f255d97 +size 253316 diff --git a/Plugins/UEWingman/Source/UEWingman/Private/WingFetcher.cpp b/Plugins/UEWingman/Source/UEWingman/Private/WingFetcher.cpp index 9b57b1b6..9c8646f8 100644 --- a/Plugins/UEWingman/Source/UEWingman/Private/WingFetcher.cpp +++ b/Plugins/UEWingman/Source/UEWingman/Private/WingFetcher.cpp @@ -94,6 +94,7 @@ void WingFetcher::PathFailed(const TCHAR* Expected) UWingServer::Printf(TEXT("ERROR: Path specifies a %s, but expected %s\n"), *Obj->GetClass()->GetName(), Expected); else UWingServer::Printf(TEXT("ERROR: Path led to a null pointer\n")); + PrintPathExplanation(); SetError(); } @@ -105,6 +106,7 @@ WingFetcher& WingFetcher::TypeMismatch(const TCHAR* Walker, const TCHAR* Expecte UWingServer::Printf(TEXT("ERROR: Input to '%s' is %s, but expected %s\n"), Walker, *Obj->GetClass()->GetName(), Expected); else UWingServer::Printf(TEXT("ERROR: Path led to a null pointer\n")); + PrintPathExplanation(); SetError(); return *this; } @@ -239,7 +241,6 @@ WingFetcher& WingFetcher::Graph(const FString& Value) if (!BP) { TypeMismatch(TEXT("graph"), TEXT("Blueprint or Material")); - PrintPathExplanation(); return SetError(); } @@ -269,7 +270,6 @@ WingFetcher& WingFetcher::Node(const FString& Value) if (Graph == nullptr) { TypeMismatch(TEXT("node"), TEXT("Graph")); - PrintPathExplanation(); return SetError(); } @@ -298,7 +298,6 @@ WingFetcher& WingFetcher::Pin(const FString& Value) if (!N) { TypeMismatch(TEXT("pin"), TEXT("node")); - PrintPathExplanation(); return SetError(); } UEdGraphPin *Found = WingUtils::FindExactlyOneNamed(Value, N->Pins, TEXT("pin")); @@ -324,7 +323,6 @@ WingFetcher& WingFetcher::Component(const FString& Value) if (!BP) { TypeMismatch(TEXT("component"), TEXT("Blueprint")); - PrintPathExplanation(); return SetError(); } @@ -359,7 +357,6 @@ WingFetcher& WingFetcher::Widget(const FString& Value) if (!WidgetBP) { TypeMismatch(TEXT("widget"), TEXT("WidgetBlueprint")); - PrintPathExplanation(); return SetError(); } @@ -388,7 +385,6 @@ WingFetcher& WingFetcher::LevelBlueprint(const FString& Value) if (!World) { TypeMismatch(TEXT("levelblueprint"), TEXT("world")); - PrintPathExplanation(); return SetError(); }