Commit Graph

25 Commits

Author SHA1 Message Date
ronald koppers
0a53b11b03 Removed the EditorStorage world type.
The EditorStorage world type was introduced as MASS had a dependency on  having a world, but none of the existing worlds could be made to work. This limitation has since been removed from MASS which means there's no current use for EditorStorage. To avoid adding additional maintenance and since EditorStorage was introduce within 5.2, it's now being removed before release. If a use case is found at a later time, this CL can be used to reintroduce EditorStorage.

#jira UE-180332
#rb Mieszko.Zielinski
#preflight 6419d4bb13231a282690c8b4
#lockdown jeanmichel.dignard

[CL 24739070 by ronald koppers in ue5-main branch]
2023-03-21 16:38:36 -04:00
christopher waters
a5aff9ad16 Removing redundant include paths.
[CL 24274758 by christopher waters in ue5-main branch]
2023-02-16 20:10:21 -05:00
stephen holmes
97766341ea Refactored FSructView and FConstStructView as per recent meetings. Both are now const correct in the same way TArrayView and TArrayConstView are (ie const FStructView and const FConstStructView) the view can not point at another view.
Also removed the Mutable named functions and replaced with the constness being part of the template.

#preflight 63ea4fbaec50523134d85665

[CL 24197313 by stephen holmes in ue5-main branch]
2023-02-13 20:06:02 -05:00
henrik karlsson
bbc37aa2f5 [Engine/Plugins]
* Another batch iwyu updates to reduce number of includes used in files

#preflight 63c58d742e714f64ade93797
#rb none

[CL 23732856 by henrik karlsson in ue5-main branch]
2023-01-16 17:04:48 -05:00
mikko mononen
e643f77161 StructUtils: Added ranged for support for instanced struct container
#rb Mieszko.Zielinski
#preflight 63930a480236bc17ce8d519e

[CL 23462026 by mikko mononen in ue5-main branch]
2022-12-09 06:17:54 -05:00
ronald koppers
93c0e98dc2 Enable a subset of subsystems from MASS in the editor.
A subset of MASS subsystems is enabled for the EditorStorage-type world used in the editor to store data for the Typed Elements.

#preflight 63921d4467018b14b59201ad
#rb mieszko.zielinski
#jira UE-171269

[CL 23449647 by ronald koppers in ue5-main branch]
2022-12-08 12:53:38 -05:00
mikko mononen
e178b4e762 StructUtils: Remove ChunkedStructBuffer and InstancedStructStream experiments.
#jira UE-170863
#rb Mieszko.Zielinski
#preflight 63905322c0652bbec2cedfb8

[CL 23426333 by mikko mononen in ue5-main branch]
2022-12-07 05:39:47 -05:00
Stephen Holmes
3707a3d836 Addressing numeric conversion warnings in Mass.
#preflight 63764fbc232e3d12cba18ccd
#review-23156037
#jira UE-166285

[CL 23175896 by Stephen Holmes in ue5-main branch]
2022-11-17 10:22:33 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
henrik karlsson
5298cc8120 Non-unity/pch compile fixes when building UnrealEditor linux
#rb none
#preflight skipped

[CL 22794114 by henrik karlsson in ue5-main branch]
2022-10-26 17:49:37 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
bryan sefcik
0eeac455e0 Pass 3 on cleaning up build.cs files.
#jira
#preflight 631b9c15d31788ea3ab0f27b

[CL 21935601 by bryan sefcik in ue5-main branch]
2022-09-10 00:02:58 -04:00
ben zeigler
9ea9312867 Fix broken redirects discovered by running -DebugCoreRedirects on the engine
Some of these needed full paths after the path lookup changes, some were out of date, and some were typos
#jira UE-161345
#rb matt.peters
#preflight 6306824e5a5d4e462465eaf7

[CL 21566281 by ben zeigler in ue5-main branch]
2022-08-25 11:56:33 -04:00
Zousar Shaker
3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00
yoan stamant
5d13d61c19 Updated some DebugDrawComponent and ZoneGraphAnnotations to rely on UE_ENABLE_DEBUG_DRAWING
#rnx
#rb maxime.mercier
#jira UE-159095
#preflight 62cebcaaf324cee189defefa

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21070854 via CL 21070857 via CL 21070862
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21079648 by yoan stamant in ue5-main branch]
2022-07-13 16:26:06 -04:00
mikko mononen
2790fb0f2d ZoneGraph: Fix crash in flee annotation
- fixed crash (lookup out of date) in flee fallback behavior
- fixe left overd issues from an older review 19243357

#jira UE-148343
#review
#preflight 6262502b4c7bb31da22101b4

[CL 19861852 by mikko mononen in ue5-main branch]
2022-04-22 02:55:21 -04:00
mikko mononen
4d7d155e86 ZoneGraphAnnotationComponen Unity compile fix
#jira UE-144814
#rb yoan.stamant
#preflight 62221a2def188a763d5e6b34
#lockdown nick.whiting

#ROBOMERGE-AUTHOR: mikko.mononen
#ROBOMERGE-SOURCE: CL 19266727 in //UE5/Release-5.0/... via CL 19266804
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19270244 by mikko mononen in ue5-main branch]
2022-03-04 13:32:10 -05:00
mikko mononen
7b4df5969a Fix Mass Crowd flee behavior and crash in editor
#jira UE-144360
#rb yoan.stamant mieszko.zielinski
#preflight 622129a9bf662715a8cb85f2
#lockdown julien.marchand

- Made AMassSpawner visible in non-shipping/testing so that component debug draw works
- Fixed crash in UZoneGraphAnnotationComponent::OnUnregister() when component is edited BP editor
- Added debug draw culling to ZoneGraph Disturbance annotations and ZoneGraph Crowd Lane annotations
- Fixed flee lane tags on CitySample (flee would try to use sidewalks, which causes problems)
- Added fallback for flee calculation when there are no exists
- Added helper functions to UZoneGraphAnnotationComponent to add distance culling for debug draws

#ROBOMERGE-AUTHOR: mikko.mononen
#ROBOMERGE-SOURCE: CL 19253567 in //UE5/Release-5.0/... via CL 19257906
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263528 by mikko mononen in ue5-main branch]
2022-03-04 03:48:24 -05:00
mikko mononen
f21d1720b8 Mass Movement and Navigation cleanup
- Removed ununed processors and fragments
- Separated ZoneGraph specific things from common movement and navigation fragments and processors
- First attempt at cleaner separation between Mass Movement and Mass Navigation
- Moved configs and hard coded values to shared fragments
- Simplified and clarified parameters

#jira none
#rb Aris.Theophanidis
#preflight 61f283b61e5d78c383072b4a

#ROBOMERGE-AUTHOR: mikko.mononen
#ROBOMERGE-SOURCE: CL 18752305 in //UE5/Release-5.0/... via CL 18752314 via CL 18752372
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18752384 by mikko mononen in ue5-main branch]
2022-01-27 07:28:47 -05:00
Yoan StAmant
e8443d57cf Misc type conversion warning fixes
#rb maxime.mercier
#robomerge 5.0
#preflight 618d6d32c80d0ce51ae61965

[CL 18156659 by Yoan StAmant in ue5-main branch]
2021-11-11 14:55:19 -05:00
Yoan StAmant
ee8b68b2eb Misc type conversion warning trivial fixes
#rb maxime.mercier
#robomerge 5.0
#preflight 618aa174cd591b516590f10c

[CL 18107621 by Yoan StAmant in ue5-main branch]
2021-11-09 12:23:52 -05:00
Yoan StAmant
ce954c3d41 Fixed ZoneGraphDisturbanceAnnotation find predicate
#rb trivial
#fyi mikko.mononen
#robomerge 5.0

[CL 18104187 by Yoan StAmant in ue5-main branch]
2021-11-09 07:43:43 -05:00
Yoan StAmant
be5f6a5afd [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
#robomerge FnMain
#preflight 61703f8766ed7f0001c0faf1

[CL 17875336 by Yoan StAmant in ue5-main branch]
2021-10-20 13:20:46 -04:00
Mieszko Zielinski
7c78f9c12b Marked ZoneGraph plugins as experimental
#jira UE-132064
#robomerge 5.0

[CL 17860971 by Mieszko Zielinski in ue5-main branch]
2021-10-19 10:57:32 -04:00
mieszko zielinski
c019c2635f Moved GameplayBehaviors out of restricted folder over to Experimental
Moved SmartObjects out of restricted folder
Moved StateTree out of restricted folder
Moved ZoneGraph out of restricted folder
Moved ZoneGraphAnnotations out of restricted folder

#jira UE-115297

#ROBOMERGE-OWNER: mieszko.zielinski
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 17648223 via CL 17648246 via CL 17648261 via CL 17648385 via CL 17648390 via CL 17648742
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v875-17642767)

[CL 17648750 by mieszko zielinski in ue5-main branch]
2021-09-28 13:33:17 -04:00