Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Plugins/ElgEditorScripting/ElgEditorScripting.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"DocsURL": "ElgSoft.com",
"MarketplaceURL": "",
"SupportURL": "mailto:[email protected]",
"EngineVersion": "5.3.0",
"EngineVersion": "5.4",
"CanContainContent": false,
"Installed": true,
"Modules": [
Expand All @@ -20,4 +20,4 @@
"LoadingPhase": "Default"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ UBlueprint* UElgEditorBP_UBlueprint::GetBlueprintFromAssetData(const FAssetData&
Branches = EBPEditorOutputValidBranch::Valid;
return blueprint;

#endif

#else
return nullptr;
#endif
}


Expand All @@ -60,10 +60,11 @@ UBlueprint* UElgEditorBP_UBlueprint::GetBlueprintFromObject(UObject* Object, EBP

Branches = EBPEditorOutputValidBranch::Valid;
return blueprint;
#else
return nullptr;

#endif

return nullptr;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ UElgEditorContext_LevelEditor* UElgEditorContext_BP::GetLevelEditorContext()
#if WITH_EDITOR
const FElgEditorScriptingModule& elgEditorScriptModule = FModuleManager::Get().LoadModuleChecked<FElgEditorScriptingModule>(TEXT("ElgEditorScripting"));
return elgEditorScriptModule.GetContextManager().GetLevelEditorContext();
#endif
#else
return nullptr;
#endif
}


Expand All @@ -31,8 +32,9 @@ UElgEditorContext_AssetBrowser* UElgEditorContext_BP::GetAssetBrowserContext()
#if WITH_EDITOR
const FElgEditorScriptingModule& elgEditorScriptModule = FModuleManager::Get().LoadModuleChecked<FElgEditorScriptingModule>(TEXT("ElgEditorScripting"));
return elgEditorScriptModule.GetContextManager().GetAssetBrowserContext();
#endif
#else
return nullptr;
#endif
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "Input/Events.h"
#include <EditorModeManager.h>
#include <EditorModeTools.h>
#include <Engine/HitResult.h>


#pragma region Setup
Expand Down Expand Up @@ -692,4 +693,4 @@ void UElgEditorContext_LevelEditor::GetViewportPerspectiveLocation(FVector& Came
}
}

#pragma endregion
#pragma endregion