Commit Graph

246 Commits

Author SHA1 Message Date
don boogert
e170a3179e Landscape : Dirty Landscape Actor packages on Water & Patch updates.
#rb jonathan.bird
#preflight 6362cdd2af536047f4f90f5c
#jira UE-165146
#jira UE-165147

[CL 22938003 by don boogert in ue5-main branch]
2022-11-02 23:08:23 -04:00
don boogert
52c1cb38a2 Landscape : Fixes for water usage from WorldPartition Commandlets.
* Guard against slate from being called when not initialized.
* Show message box if HLOD build commandlet process fails.

#rb jonathan.bard
#rb richard.malo
#preflight 6362c5c1522c8f7ab3504854

[CL 22937962 by don boogert in ue5-main branch]
2022-11-02 23:07:33 -04:00
chris tchou
7016d85cbc Fix for crashes involving Landscape paint undo/redo (second try)
Also ran CI to verify: https://horde.devtools.epicgames.com/job/635a2d420d3a231123b1c6ef

#rb jonathan.bard
#jira UE-136705, UE-160979, UE-165113, UE-141171
#preflight 635a1d8c8d56375d45d49921

[CL 22875448 by chris tchou in ue5-main branch]
2022-10-31 20:02:05 -04:00
chris tchou
5c3032ba1a [Backout] - CL22736051
[FYI] chris.tchou
Original CL Desc
-----------------------------------------------------------------
Fix for crashes involving Landscape paint undo/redo

#rb
#jira UE-136705, UE-160979, UE-165113, UE-141171
#preflight 6356f6b63a547c3da33acaba

[CL 22788301 by chris tchou in ue5-main branch]
2022-10-26 16:20:48 -04:00
chris tchou
992f48f28d Fix for crashes involving Landscape paint undo/redo
#rb
#jira UE-136705, UE-160979, UE-165113, UE-141171
#preflight 6356f6b63a547c3da33acaba

[CL 22787010 by chris tchou in ue5-main branch]
2022-10-26 15:28:44 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
roey borsteinas
1241fcb115 Landscape: removed misplaced punctuation in landscape Waiting for Resources notification toast message.
#rb jonathan.bard

[CL 22619879 by roey borsteinas in ue5-main branch]
2022-10-19 03:04:56 -04:00
chris tchou
ff0a3dbc6a Update water info textures whenever heightmaps are streamed in.
#rb jonathan.bard
#jira UE-162366
#preflight 633cd0461451b83c2a58601a

[CL 22388910 by chris tchou in ue5-main branch]
2022-10-06 20:13:04 -04:00
nickolas drake
185f3f2700 Landscape: Fix notification flickering/not showing and fix landscape notification manager leak.
The start times of landscape texture and brush notifications were not correct.

When loading a new level, if any notifications are being displayed by the landscape notification manager, the manager will leak the currently displayed notification leaving it in an incomplete state.

#rb jonathan.bard
#preflight 6335bc34466fb43669b6beb3

[CL 22263396 by nickolas drake in ue5-main branch]
2022-09-30 00:54:29 -04:00
jonathan bard
c029462333 Fixed static analysis warning
#preflight 6334589a0c3bc273cc432aea
#rb roey.borsteinas
#rnx

[CL 22240388 by jonathan bard in ue5-main branch]
2022-09-28 22:19:39 -04:00
jonathan bard
6e634fc876 Landscape : fixed the Locked state of an edit layer that would not dirty the actor. This is a change that is persisted and therefore needs to be saved
#rb luc.eygasier
#jira UE-164811
#preflight trivial

[CL 22188123 by jonathan bard in ue5-main branch]
2022-09-26 13:16:00 -04:00
Nickolas Drake
84df94acfd LandscapeNotifications: Unify landscape notifications into a single notification/notification manager class.
Duplicate functionality as CL 21485614 which caused Lyra errors. Ran Lyra cook preflight 632c7a41e23e50651b41ab22 to ensure the Lyra issue is fixed, passed all relevant steps. Errors present in cook already present in incremental build.

#jira UE-113697
#rb Jonathan.Bard
#preflight 63040eb8516bef57ff81be5f

[CL 22140315 by Nickolas Drake in ue5-main branch]
2022-09-22 14:03:20 -04:00
jonathan bard
dd4c0744e5 Removed many frames delay while the landscape BP brushes are asynchronously waiting for the required materials to be compiled : we now process them all every frame so that we can initiate their compilation all at once instead of earlying-out (which resulted in only shader compilation request per frame)
#rb

[CL 22017669 by jonathan bard in ue5-main branch]
2022-09-14 17:43:22 -04:00
patrick enfedaque
5ce0c83b58 Landscape Dirtyness
- New CVar 'landscape.DirtyOnlyInMode' when enabled, modifications to the landscape that happen outside of the Landscape Edit Mode (Modifications affecting the Edit Layers like Water brush) will be tracked but packages will not be marked dirty.
- Users can use the Build > Save Modified Landscapes to save those collateral changes.

#jira UE-158840
#rb richard.malo, jonathan.bard
#preflight 63206a3da514fd1e37bfd0ec

[CL 21989552 by patrick enfedaque in ue5-main branch]
2022-09-13 15:01:53 -04:00
bryan sefcik
07894f4a07 Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631a717cec45fbf3d74d4ba7

[CL 21916033 by bryan sefcik in ue5-main branch]
2022-09-09 00:53:22 -04:00
chris tchou
8dfd4deb2d Fix for an assert in landscape when using local merge on D3D12 -- RDG does not yet support textures that are populated by a copy / only used as a shader resource.
#rb jonathan.bard
#jira UE-160948
#preflight 630cf2f0e1124837752f0646

[CL 21690039 by chris tchou in ue5-main branch]
2022-08-29 18:01:23 -04:00
brandon dawson
224d5f95cf Add flag for skipping the landscape layers update.
#preflight 6308f2d53405456ee56f5c27

[CL 21684905 by brandon dawson in ue5-main branch]
2022-08-29 14:44:09 -04:00
Nickolas Drake
52f38ca7f2 [Backout] - CL21485614
#fyi Nickolas.Drake
Original CL Desc
-----------------------------------------------------------------
LandscapeNotifications: Unify landscape notification's into a single notification/notification manager class.

Duplicate functionality as CL 21458279 which caused Lyra errors. Ran Lyra cook preflight 62ffe560fc3d0e6817299ccb to ensure the Lyra issue is fixed, passed all relevant steps.

#jira UE-113697
#rb jonathan.bard
#preflight 63039eb15a5d4e4624dbebab

[CL 21486504 by Nickolas Drake in ue5-main branch]
2022-08-22 13:23:10 -04:00
Nickolas Drake
eaaa7986aa LandscapeNotifications: Unify landscape notification's into a single notification/notification manager class.
Duplicate functionality as CL 21458279 which caused Lyra errors. Ran Lyra cook preflight 62ffe560fc3d0e6817299ccb to ensure the Lyra issue is fixed, passed all relevant steps.

#jira UE-113697
#rb jonathan.bard
#preflight 63039eb15a5d4e4624dbebab

[CL 21485614 by Nickolas Drake in ue5-main branch]
2022-08-22 12:39:49 -04:00
michael balzer
8cab9415c7 [Backout] - CL21458279
#fyi Nickolas.Drake
Original CL Desc
-----------------------------------------------------------------
LandscapeNotifications: Unify landscape notification's into a single notification/notification manager class.

#jira UE-113697
#rb jonathan.bard
#preflight 62ffa9eb7770b47eeaae9ae0

[CL 21460257 by michael balzer in ue5-main branch]
2022-08-19 13:20:20 -04:00
Nickolas Drake
c572bac967 LandscapeNotifications: Unify landscape notification's into a single notification/notification manager class.
#jira UE-113697
#rb jonathan.bard
#preflight 62ffa9eb7770b47eeaae9ae0

[CL 21458279 by Nickolas Drake in ue5-main branch]
2022-08-19 11:40:14 -04:00
jonathan bard
4bffbab5d7 * Fixed landscape edit layers not properly removing weightmap allocations on components with unused paint layers in the procedural brush case
* Added list of layers affected to each channel to the weightmap readback struct, in order to properly analyze the content of the texture when the weightmap layer allocations might have changed on the component since the moment the readback was issued

#rb luc.eygasier
#preflight 62d7d0f01133256db643a10d
#tests UEENGQA-74353

#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 21178628 via CL 21178949 via CL 21181390
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192538 by jonathan bard in ue5-main branch]
2022-07-20 18:31:46 -04:00
semion piskarev
8f00e7e9d6 LandscapePatch: Create LandscapeTexturePatch, which combines a height patch with weight patches.
#rb Jonathan.Bard
#preflight 62cefc9bec5992eb2ff3262f

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 21080983 via CL 21081175 via CL 21081440
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21084020 by semion piskarev in ue5-main branch]
2022-07-13 19:01:11 -04:00
jonathan bard
8c5479669b Removed unacceptable words from landscape code
#jira UE-158658
#rb trivial

#ROBOMERGE-OWNER: jonathan.bard
#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-COMMAND: _robomerge[bot4] UE5-MAIN
#ROBOMERGE-SOURCE: CL 20996730 via CL 20997327 via CL 20997393
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20997404 by jonathan bard in ue5-main branch]
2022-07-07 21:58:56 -04:00
zach bethel
34623f0321 Replaced thread-local MemStack with ConcurrentLinearAllocator across the renderer.
- Removed scene render mem-mark among others. MemStack usage is now restricted to local scopes with known marks.
 - Render resources with destructors are allocated using the FSceneRenderingBulkObjectAllocator on FSceneRenderer, which is deleted when the scene render is.

#preflight 62b266e20d4d6228de97babe
#rb mihnea.balta, yuriy.odonnell

[CL 20907647 by zach bethel in ue5-main branch]
2022-06-30 19:55:24 -04:00