Commit Graph

24 Commits

Author SHA1 Message Date
Patrick Enfedaque
aca2ccef34 WorldPartition: Use UWorld::IsPartitionedWorld instead of HasSubsystem<UWorldPartitionSubsystem> (prepare for subsystem always existing)
#rb richard.malo, jeanfrancois.dube
#preflight 6214e114a97c2c3348cb166d
#rnx

[CL 19071881 by Patrick Enfedaque in ue5-main branch]
2022-02-22 08:54:19 -05:00
jonathan bard
670ce37131 Added UTickableWorldSubsystem as a base class for world sub systems that need to be ticked along with their world.
By default:
* It implements FTickableGameObject::GetTickableGameObjectWorld to return the subsystem's world
* It prevents the subsystem from ticking as soon as the subsystem is deinitialized (has required custom solutions in the past to avoid crashes when UWaterSubsystem and UAutoDestroySubsystem get ticked after their world is pending destroy)
* It prevents the subsystem's CDO from ever ticking

#rb jean-francois.dube, chris.gagnon, ben.zeigler
#jira none

[CL 15512967 by jonathan bard in ue5-main branch]
2021-02-24 06:56:06 -04:00
rajesh chilagani
2351daa4ec Refactor Landscape Physical Material to not automatically dirty levels/actors and instead display a message so that the user can build them through the Build menu
#rb patrick.enfedaque

[CL 14891900 by rajesh chilagani in ue5-main branch]
2020-12-09 16:49:05 -04:00
rajesh chilagani
0c96351c1b Refactor Landscape UpdateGIBakedTextures to not automatically dirty levels/actors instead display a message so that the user can build them through the Build menu
#jira UE-102677
#rb patrick.enfedaque

[CL 14880992 by rajesh chilagani in ue5-main branch]
2020-12-08 15:05:44 -04:00
Patrick Enfedaque
45335f2e93 WorldPartition: Remove FWorldPartitionActorDescFactory and move creation of ActorDescs in AActor
#rb jeanfrancois.dube

[CL 14834829 by Patrick Enfedaque in ue5-main branch]
2020-12-02 09:40:59 -04:00
rajesh chilagani
ffad41575d Refactor Landscape UpdateBakedTexture to not automatically dirty levels/actors and instead display a message so that the user can build them through the Build menu (like Grass)
#jira UE-102677
#rb patrick.enfedaque

[CL 14816208 by rajesh chilagani in ue5-main branch]
2020-11-26 14:22:44 -04:00
Patrick Enfedaque
c814528b26 Landscape: New helper class allows changing Landscape Configuration (Component Size, Num Subsection, WorldPartition GridSize)
#rb richard.malo

[CL 14490266 by Patrick Enfedaque in ue5-main branch]
2020-10-14 08:06:05 -04:00
Patrick Enfedaque
5c46684d31 Backout CL 14397037+14398210 LandscapeInfo map refactor until we can fix the Cooking (where Inactive World don't have Subsystems)
#rb none

[CL 14398311 by Patrick Enfedaque in ue5-main branch]
2020-09-25 14:17:42 -04:00
Patrick Enfedaque
970900bbef Move LandscapeInfo management into LandscapeSubsystem. (Remove usage of World->PerModuleDataObjects)
#rb richard.malo

[CL 14397037 by Patrick Enfedaque in ue5-main branch]
2020-09-25 12:14:34 -04:00
Patrick Enfedaque
bacc04caf5 WorldPartition:
- Added support for New Landscape with a Grid Size setting to split new landscape into StreamingProxies
- Support Add Component tool so that it creates new Grid proxies when needed
ActorPartitionSubsystem:
- Support for Partition Guid to allow multiple actors of the same type (different grids)

#rb richard.malo

[CL 14386797 by Patrick Enfedaque in ue5-main branch]
2020-09-24 10:42:45 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
richard malo
4b5a2751e2 Fixed build
[FYI] bob.tellez
#rb none

#ROBOMERGE-SOURCE: CL 13052605 via CL 13052607 via CL 13053089
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13053144 by richard malo in Main branch]
2020-04-27 21:14:20 -04:00
richard malo
8481874f1c - Grass Maps updated during Tick are no longer dirtying packages. Instead, they mark themselves as dirty/need rebuilt.
- New map warning will display "GRASS MAPS NEED TO BE REBUILT" whenever grass maps are outdated.
- New "Build Grass Maps" command added to the Build menu options.
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 13050576 via CL 13050581 via CL 13050584
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13050586 by richard malo in Main branch]
2020-04-27 16:16:09 -04:00
jeremy moore
72965bfb85 Hook up landscape physical material tasks to landscape subsystem.
The subsystem will tick the tasks and copy results to landscape collision whenever a task completes.
[FYI] Patrick.Enfedaque


#ROBOMERGE-SOURCE: CL 12125149 via CL 12131265
#ROBOMERGE-BOT: (v659-12123632)

[CL 12131425 by jeremy moore in Main branch]
2020-03-11 12:18:16 -04:00
jordan cristiano
78e3874470 Simplified ULandscapeSubsystem ticking boilerplate.
Getting familiar with it to use a similar approach for batched pawn ticking.

#rb ryan.mangin, patrick.enfedaque


#ROBOMERGE-SOURCE: CL 11548961 via CL 11548977 via CL 11548987
#ROBOMERGE-BOT: (v654-11333218)

[CL 11548998 by jordan cristiano in Main branch]
2020-02-19 14:27:51 -05:00
patrick enfedaque
1824cd8a9b Fix Creative Landscape Guid Clash
#rb jeanfrancois.dube, richard.malo
[FYI] eric.knapik, cory.kolek


#ROBOMERGE-SOURCE: CL 11085594 via CL 11085607 via CL 11085611
#ROBOMERGE-BOT: (v637-11041722)

[CL 11085614 by patrick enfedaque in Main branch]
2020-01-22 14:16:42 -05:00
andrew ladenberger
4ebb59ddef Fixed NonUnity build error from recently added csv scope
#rb jordan.cristiano
#rnx


#ROBOMERGE-SOURCE: CL 11070125 via CL 11070126 via CL 11070127
#ROBOMERGE-BOT: (v637-11041722)

[CL 11070128 by andrew ladenberger in Main branch]
2020-01-20 19:32:56 -05:00
andrew ladenberger
09a54cb5be Added landscape csv scope and llm marker that were lost in the batched tick refactor
#rb patrick.enfedaque
[FYI] ben.woodhouse
#rnx


#ROBOMERGE-SOURCE: CL 11068270 via CL 11068274 via CL 11068279
#ROBOMERGE-BOT: (v637-11041722)

[CL 11068286 by andrew ladenberger in Main branch]
2020-01-20 16:19:27 -05:00
patrick enfedaque
f75dc34ff0 Fix Non-Unity Build
#rb trivial
#rnx


#ROBOMERGE-SOURCE: CL 11045453 via CL 11045462 via CL 11045476
#ROBOMERGE-BOT: (v637-11041722)

[CL 11045496 by patrick enfedaque in Main branch]
2020-01-17 10:17:06 -05:00
patrick enfedaque
2228ce1045 Resubmit 11033080 with Editor server crash fix
#rb richard.malo
[FYI] andrew.ladenberger


#ROBOMERGE-SOURCE: CL 11042478 via CL 11042486 via CL 11042489
#ROBOMERGE-BOT: (v637-11041722)

[CL 11042494 by patrick enfedaque in Main branch]
2020-01-17 08:59:21 -05:00
andrew ladenberger
552ea293d0 Back out changelist 11033080 (until crash is resolved)
#rb trivial
[FYI] patrick.enfedaque
#rnx


#ROBOMERGE-SOURCE: CL 11036562 via CL 11036563 via CL 11036565
#ROBOMERGE-BOT: (v635-11031815)

[CL 11036568 by andrew ladenberger in Main branch]
2020-01-16 18:22:57 -05:00
patrick enfedaque
8cf1bae6ea Fix missing copyright
#rb none


#ROBOMERGE-SOURCE: CL 11033222 via CL 11033973 via CL 11034000
#ROBOMERGE-BOT: (v633-10983880)

[CL 11034022 by patrick enfedaque in Main branch]
2020-01-16 14:59:27 -05:00
patrick enfedaque
9eba4452ca Fix Include
#rb none


#ROBOMERGE-SOURCE: CL 11033209 via CL 11033235 via CL 11033245
#ROBOMERGE-BOT: (v633-10983880)

[CL 11033803 by patrick enfedaque in Main branch]
2020-01-16 14:38:37 -05:00
patrick enfedaque
5f566bb621 Landscape Grass Optim:
- Batch Ticks into LandscapeSubsystem (remove overhead of early exit virtual Ticks)
- Gather Cameras only once per frame

#rb richard.malo, jeanfrancois.dube
[FYI] jordan.cristiano, andrew.ladenberger


#ROBOMERGE-SOURCE: CL 11033080 via CL 11033097 via CL 11033099
#ROBOMERGE-BOT: (v633-10983880)

[CL 11033778 by patrick enfedaque in Main branch]
2020-01-16 14:37:29 -05:00