Commit Graph

247 Commits

Author SHA1 Message Date
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
louise rasmussen
af40e9cac5 Level Editor Menu Clean Up, Part 2
#JIRA UETOOL-3039
#rb Lauren.Barnes
#lockdown Simon.Tourangeau
#preflight 606d2c11dc3e5b0001c915aa

#ROBOMERGE-OWNER: louise.rasmussen
#ROBOMERGE-AUTHOR: louise.rasmussen
#ROBOMERGE-SOURCE: CL 15937971 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15938452 by louise rasmussen in ue5-main branch]
2021-04-07 02:56:12 -04:00
louise rasmussen
825c64a6f5 Level Editor Menu Re-org, Part 1
#JIRA UETOOL-3039
#rb Lauren.Barnes
#lockdown Simon.Tourangeau
#preflight 606b8e0315d4190001b1698b

#ROBOMERGE-SOURCE: CL 15924633 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15924652 by louise rasmussen in ue5-main branch]
2021-04-05 19:11:24 -04:00
Yoan StAmant
d265153bd8 [VisualLogger] Renamed some slate widgets to fix some symbol mixup between modules
#jira UE-110591
#review-15869247 @maxime.mercier @brandon.schaefer
#preflight 6064ba47b262d500010330d7

[CL 15879561 by Yoan StAmant in ue5-main branch]
2021-03-31 15:07:57 -04:00
mark lintott
86f5949387 #jira UE-111548
#rb trivial
Removed reference to ue4

#ROBOMERGE-SOURCE: CL 15801766 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15807997 by mark lintott in ue5-main branch]
2021-03-24 16:38:38 -04:00
Yoan StAmant
df07501b17 [LogVisualizer] Fixed some typos
#review-15495108 @mieszko.zielinski

[CL 15513328 by Yoan StAmant in ue5-main branch]
2021-02-24 08:33:37 -04:00