Commit Graph

263 Commits

Author SHA1 Message Date
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
yoan stamant
dfc06149a2 [LogVisualizer] updated color palette to make filter widgets easier to read
#rb maxime.mercier
#preflight 61ef0500ef289ffc6df7a4d1

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18713362 in //UE5/Release-5.0/... via CL 18713412 via CL 18713647
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713675 by yoan stamant in ue5-main branch]
2022-01-24 15:35:45 -05:00
aris theophanidis
0817487920 Fix visual logger crash on ObjectVisibilityChanged()
#rb Yoan.StAmant
#jira none
#preflight 61d852fac65e66487b35ba54

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 18543376 in //UE5/Release-5.0/... via CL 18543434
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18543461 by aris theophanidis in ue5-release-engine-test branch]
2022-01-07 09:59:08 -05:00
stefan-zimecki
dacb624752 PR #8661: [VisualLogger] Added filter volume support to the Visual Logger (Contributed by stefan-zimecki)
Modifications/additions to the PR:
+ replaced usage of FEditorDelegates::EndPie by FGameDelegates::EndPlayMap so the game world tear down is completed and we can udpate the new current world in the same way we do on PostPieStarted
+ fixed FVisualLogEntry constructor to properly initialize members when an invalid actor is provided
+ added refresh for in world primitives on row visibility changes (e.g. adding/moving/deleting a filter volume)

#jira UE-135731
#preflight 61d5f3b54c252480ca1dbdba

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18523387 in //UE5/Release-5.0/... via CL 18523393
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18523406 by stefan-zimecki in ue5-release-engine-test branch]
2022-01-05 14:50:50 -05:00
yoan stamant
bcfe631edb [VisualLogger] fixed typo in tooltip
#rb trivial

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18327612 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18327636 by yoan stamant in ue5-release-engine-test branch]
2021-11-30 13:19:07 -05:00
vincent gauthier
30e6d2c204 Close all tab in Visual Logger when the main Tab is closed to prevent a crash when a tab was detached before closing it.
#jira UE-135473
#rb daren.cheng

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 18296308 in //UE5/Release-5.0/... via CL 18296312
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18296315 by vincent gauthier in ue5-release-engine-test branch]
2021-11-25 14:10:31 -05:00
yoan stamant
42299b520f [DebugDrawDelegateHelper] rollback of delegate unregistration issue previous fix and implemented a different approach for cases where proxy is not created:
In some code paths for loaded actors the call order might be different since primitive registration gets deferred (i.e. FRegisterComponentContext != nullptr).

Case 1 (normal flow): FRegisterComponentContext == nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent : calls CreateSceneProxy
 > RegisterDebugDrawDelegate
 > UnregisterDebugDrawDelegate  ==> works fine

Case 2 (deferred AddPrimitive): FRegisterComponentContext != nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent : defers CreateSceneProxy
 > RegisterDebugDrawDelegate (skip register since not init)
 > CreateSceneProxy
 > UnregisterDebugDrawDelegate  ==>  ensures in UnregisterDebugDrawDelegate

With this new version `CreateRenderState_Concurrent` calls `RequestRegisterDebugDrawDelegate` that will take care of registering the delegate immediately or mark it for deferred execution. An explicit call to `ProcessDeferredRegister` is then required from `CreateSceneProxy` to implement proper flow:

Case 2 (fixed) (deferred AddPrimitive + deferred Register): FRegisterComponentContext != nullptr
 > UPrimitiveComponent::CreateRenderState_Concurrent: defers CreateSceneProxy
 > RequestRegisterDebugDrawDelegate: defers RegisterDebugDrawDelegate
 > CreateSceneProxy: calls ProcessDeferredRegister & RegisterDebugDrawDelegate
 > UnregisterDebugDrawDelegate  ==> works fine

Bonus:
- New DebugDrawComponent abstract class that is now used to share common functionalities between existing debug related components. Takes care of DelegateHelper registration flow to render text on screen from different sources.
- FDebugDrawDelegateHelper::InitDelegateHelper is no longer virtual and derived classes requiring extra data from their associated scene proxy should set it up from their overriden CreateSceneProxy
- FDebugDrawDelegateHelper derived classes should not override RegisterDebugDrawDelegate/UnregisterDebugDrawDelegate to use their `DrawDebugLabels` method since this is already a virtual method that would get called from the base class.
- Fixed a few ViewFlag members in the SceneProxy so the DelegateHelper base class can behave as expected

#jira FORT-419154
#rb mieszko.zielinski
#preflight 61703f8766ed7f0001c0faf1

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 17875336 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 17875370 by yoan stamant in ue5-release-engine-test branch]
2021-10-20 13:23:33 -04:00
yoan stamant
2fa9d8e00f [DebugDrawDelegate]
Update registration flow since CreateRenderState_Concurrent can't be used to register our delegate since it needs to be initialized first (CreateSceneProxy) and in some code paths for loaded actors the call order might be different since primitive registration gets deferred (i.e. FRegisterComponentContext != nullptr).
In that case initialization won't called and an ensure will fire in UnregisterDebugDrawDelegate since registration failed (was not initialized).
Case 1: FRegisterComponentContext == nullptr  ==> Super::CreateRenderState_Concurrent + sync CreateSceneProxy (init) + RegisterDebugDrawDelegate ==> works fine
Case 2: FRegisterComponentContext != nullptr  ==> Super::CreateRenderState_Concurrent + deferred CreateSceneProxy + RegisterDebugDrawDelegate (skipped since not init) + CreateSceneProxy ==> ensures in UnregisterDebugDrawDelegate

Bonus:
- some code analysis fixes
- removed some 'CoreMinimal.h' includes
- exported log category 'LogVisual'
- fixed some uninitialized properties (FNavTestDebugDrawDelegateHelper, UNavMeshRenderingComponent, FNavMeshSceneProxyData)
- fixed some methods hiding non-virtual from base class (GetAllocatedSize)
- fixed FGameplayDebuggerCompositeSceneProxy::GetMemoryFootprint that was not considering base class allocations

#rnx
#jira UE-125097
#preflight 614362684778fa00016a8cad
#rb mieszko.zielinski

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 17544171 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17544199 by yoan stamant in ue5-release-engine-test branch]
2021-09-16 16:50:03 -04:00
yoan stamant
a2d64de147 [VisualLogger] added resizable columns in log list
#rb mieszko.zielinski
#preflight 612385f18ff554000108f55e

#ROBOMERGE-SOURCE: CL 17264937 via CL 17273131
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274264 by yoan stamant in ue5-release-engine-test branch]
2021-08-23 15:22:16 -04:00
yoan stamant
9374c6d17b [VisualLogger] preserve filters when reseting session
#jira UE-120619
#rb mieszko.zielinski
#preflight 6123862b76f1fd00010282e0

#ROBOMERGE-SOURCE: CL 17264935 via CL 17273126
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274250 by yoan stamant in ue5-release-engine-test branch]
2021-08-23 15:22:00 -04:00
ben hoffman
b06cda4cb5 Deprecate old input scales on the player controller (InputYawScale, InputPitchScale, and InputRollScale)
#jira UE-103164
#rb andy.davidson
#p4v-preflight-copy 17107710

#ROBOMERGE-SOURCE: CL 17155127 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17155141 by ben hoffman in ue5-release-engine-test branch]
2021-08-12 13:34:59 -04:00
keith yerex
d47dd9ff2a visual logger rewind debugger integration
#rb Jurre.DeBaare
#preflight 6112a4ddafd67e0001ebb06c

#ROBOMERGE-SOURCE: CL 17124037 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17124046 by keith yerex in ue5-release-engine-test branch]
2021-08-10 16:47:06 -04:00
dmytro vovk
fe6369b9ca Fixed SSE Math double precision issues
#jira none
#rb Zak.Middleton

#ROBOMERGE-SOURCE: CL 17033934 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17035634 by dmytro vovk in ue5-release-engine-test branch]
2021-08-03 14:44:57 -04:00
marc audy
59fd8bc716 Non-unity fixes
#ROBOMERGE-SOURCE: CL 16818409 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16818411 by marc audy in ue5-release-engine-test branch]
2021-07-09 13:57:42 -04:00
mikko mononen
4fc4c8c9dd Visual Logger: Added circle shape
#rb Mieszko.Zielinski
#preflight 60d19d7b634cd100013fd71a

#ROBOMERGE-SOURCE: CL 16740177 via CL 16740184
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16740207 by mikko mononen in ue5-release-engine-test branch]
2021-06-22 05:55:14 -04:00
yoan stamant
a082d0a196 [VisualLogger] Removed commented code submitted by mistake
#ROBOMERGE-SOURCE: CL 16706403 via CL 16706410
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16706420 by yoan stamant in ue5-release-engine-test branch]
2021-06-17 12:59:41 -04:00
yoan stamant
b5c45bcc01 [VisualLogger]Refresh in Editor not running mode
#preflight 60cb55564ce02c0001d9c5d6

#ROBOMERGE-SOURCE: CL 16704676 via CL 16704682
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16704688 by yoan stamant in ue5-release-engine-test branch]
2021-06-17 10:47:10 -04:00
yoan stamant
b11aa112f7 [FDebugDrawDelegateHelper] Allow calls to method InitDelegateHelper from Parallel For called from game thread (i.e. IsInParallelGameThread() || IsInGameThread() )
Removed previous hack added in UEQSRenderingComponent  and fixed some typos in method names.
#rb mikko.mononen mieszko.zielinski
#preflight 60c887272da7840001313475

#ROBOMERGE-SOURCE: CL 16672461 via CL 16672469
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16672473 by yoan stamant in ue5-release-engine-test branch]
2021-06-15 08:21:34 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
Patrick Boutot
568f3f8b74 Slate: Deprecate SSpliter's slot public variable.
#jira UE-109145
#preflight 60b4d992928b1d0001ea46e3

[CL 16509074 by Patrick Boutot in ue5-main branch]
2021-05-31 10:10:28 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
Aris Theophanidis
8140cd09c8 Fix VisualLogger cylinder display
#review @Mikko.Mononen
#rb Mikko.Mononen
#jira none
#preflight 60929c4d93d92d00015f1cd5

[CL 16207024 by Aris Theophanidis in ue5-main branch]
2021-05-05 10:14:27 -04:00
Yoan StAmant
696b3cf776 [VisualLogger] Reset data on PIE (also clear all entries if bResetDataWithNewSession)
#preflight 608ffad70d440d0001f72fa9

[CL 16183826 by Yoan StAmant in ue5-main branch]
2021-05-03 10:08:26 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00