From 3735c02f1bce85750edbb422b351e398a1c692c5 Mon Sep 17 00:00:00 2001 From: getnamo Date: Tue, 19 Sep 2017 16:54:07 +0100 Subject: [PATCH] compile fixes --- BLUI.uplugin | 11 ++++------- Source/Blu/Private/BluBluprintFunctionLibrary.cpp | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/BLUI.uplugin b/BLUI.uplugin index 4d4bdb3..b7e076d 100644 --- a/BLUI.uplugin +++ b/BLUI.uplugin @@ -1,23 +1,21 @@ { "FileVersion": 3, - "FriendlyName": "BLUI", "Version": 3, - "VersionName": "3.1.1", - "EngineVersion": "4.9+", + "VersionName": "3.2", "Description": "Chrome powered HTML UI and HUD for Unreal Engine 4", "Category": "UI", "CreatedBy": "Aaron M. Shea", "CreatedByURL": "http://aaronshea.me", + "EnabledByDefault" : true, "CanContainContent": "true", - "Modules": [ { "Name" : "BluLoader", "Type" : "Runtime", "LoadingPhase" : "PreDefault", - "BlacklistPlatforms" : [ "HTML5", "Android", "iOS"] + "BlacklistPlatforms" : [ "HTML5", "Android", "iOS"] }, { "Name": "Blu", @@ -25,6 +23,5 @@ "LoadingPhase": "PreDefault", "BlacklistPlatforms": [ "HTML5", "Android", "iOS" ] } - ], - "CanContainContent" : true + ] } diff --git a/Source/Blu/Private/BluBluprintFunctionLibrary.cpp b/Source/Blu/Private/BluBluprintFunctionLibrary.cpp index 4f96f73..814aaf9 100644 --- a/Source/Blu/Private/BluBluprintFunctionLibrary.cpp +++ b/Source/Blu/Private/BluBluprintFunctionLibrary.cpp @@ -11,7 +11,7 @@ UBluBlueprintFunctionLibrary::UBluBlueprintFunctionLibrary(const class FObjectIn UBluEye* UBluBlueprintFunctionLibrary::NewBluEye(UObject* WorldContextObject) { - UWorld* World = GEngine->GetWorldFromContextObject(WorldContextObject); + UWorld* World = GEngine->GetWorldFromContextObject(WorldContextObject, EGetWorldErrorMode::LogAndReturnNull); UBluEye* tempObject = Cast(StaticConstructObject_Internal(UBluEye::StaticClass())); return tempObject;