You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
fix for TTP #3390990 "GNavigationBuildingNotification has ill-defined destruction order" #UE4
[CL 2260662 by sebastian kowalczyk in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
1a1cc8ee53
commit
9a72a87722
@@ -4,53 +4,7 @@
|
||||
#include "MainFrame.h"
|
||||
#include "Kismet2/DebuggerCommands.h"
|
||||
#include "EditorBuildUtils.h"
|
||||
|
||||
/** Notification class for asynchronous shader compiling. */
|
||||
class FNavigationBuildingNotificationImpl
|
||||
: public FTickableEditorObject
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
FNavigationBuildingNotificationImpl()
|
||||
{
|
||||
bPreviouslyDetectedBuild = false;
|
||||
LastEnableTime = 0;
|
||||
}
|
||||
|
||||
/** Starts the notification. */
|
||||
void BuildStarted();
|
||||
|
||||
/** Ends the notification. */
|
||||
void BuildFinished();
|
||||
|
||||
protected:
|
||||
/** FTickableEditorObject interface */
|
||||
virtual void Tick(float DeltaTime);
|
||||
virtual bool IsTickable() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
virtual TStatId GetStatId() const override;
|
||||
|
||||
private:
|
||||
void ClearCompleteNotification();
|
||||
|
||||
bool bPreviouslyDetectedBuild;
|
||||
double TimeOfStartedBuild;
|
||||
double TimeOfStoppedBuild;
|
||||
|
||||
/** Tracks the last time the notification was started, used to avoid spamming. */
|
||||
double LastEnableTime;
|
||||
|
||||
TWeakPtr<SNotificationItem> NavigationBuiltCompleteNotification;
|
||||
|
||||
/** The source code symbol query in progress message */
|
||||
TWeakPtr<SNotificationItem> NavigationBuildNotificationPtr;
|
||||
};
|
||||
|
||||
/** Instance. */
|
||||
FNavigationBuildingNotificationImpl GNavigationBuildingNotification;
|
||||
#include "NavigationBuildingNotification.h"
|
||||
|
||||
void FNavigationBuildingNotificationImpl::BuildStarted()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user