You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Backout changelist 18296456, it's causing crashes and rendering issues.
Jiras FORT-430538, FORT-411948, UE-110622 will need to be reopened [FYI] Sebastien.Lussier #ROBOMERGE-OWNER: ben.woodhouse #ROBOMERGE-AUTHOR: ben.woodhouse #ROBOMERGE-SOURCE: CL 18299847 via CL 18299850 via CL 18299851 via CL 18301113 via CL 18301114 via CL 18301458 via CL 18301492 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18301519 by ben woodhouse in ue5-release-engine-test branch]
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "LandscapeProxy.h"
|
||||
#include "Landscape.h"
|
||||
#include "LandscapeRender.h"
|
||||
#include "LandscapeSplineActor.h"
|
||||
#include "Engine/Texture2D.h"
|
||||
#include "EngineUtils.h"
|
||||
@@ -29,13 +28,6 @@ public:
|
||||
/** IModuleInterface implementation */
|
||||
void StartupModule() override;
|
||||
void ShutdownModule() override;
|
||||
|
||||
private:
|
||||
void OnPostEngineInit();
|
||||
void OnEnginePreExit();
|
||||
|
||||
private:
|
||||
TSharedPtr<FLandscapeSceneViewExtension, ESPMode::ThreadSafe> SceneViewExtension;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -204,27 +196,12 @@ void FLandscapeModule::StartupModule()
|
||||
FWorldDelegates::OnPostDuplicate.AddStatic(
|
||||
&WorldDuplicateEventFunction
|
||||
);
|
||||
|
||||
FCoreDelegates::OnPostEngineInit.AddRaw(this, &FLandscapeModule::OnPostEngineInit);
|
||||
FCoreDelegates::OnEnginePreExit.AddRaw(this, &FLandscapeModule::OnEnginePreExit);
|
||||
}
|
||||
|
||||
void FLandscapeModule::OnPostEngineInit()
|
||||
{
|
||||
check(!SceneViewExtension.IsValid());
|
||||
SceneViewExtension = FSceneViewExtensions::NewExtension<FLandscapeSceneViewExtension>();
|
||||
}
|
||||
|
||||
void FLandscapeModule::OnEnginePreExit()
|
||||
{
|
||||
check(SceneViewExtension.IsValid());
|
||||
SceneViewExtension.Reset();
|
||||
}
|
||||
|
||||
void FLandscapeModule::ShutdownModule()
|
||||
{
|
||||
FCoreDelegates::OnEnginePreExit.RemoveAll(this);
|
||||
FCoreDelegates::OnPostEngineInit.RemoveAll(this);
|
||||
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
||||
// we call this function before unloading the module.
|
||||
}
|
||||
|
||||
IMPLEMENT_MODULE(FLandscapeModule, Landscape);
|
||||
|
||||
Reference in New Issue
Block a user