Commit Graph

26 Commits

Author SHA1 Message Date
jonathan bard
a9cc9c3029 Fix for undo with landscape Nanite and various Nanite landscape editor improvements :
* Unified all invalidation/update code paths so that we respect landscape.LiveRebuildNaniteOnModification in all modification cases
* Made NaniteComponent non-transactional and invalidate Nanite mesh upon undo (no need to clutter the transaction buffer with heavy redundant data)
* BuildNanite is now able to build either all proxies, like before, or only proxies from a list (including streaming proxies, in the case of a ALandscape)
* Build Nanite data can now be done per landscape proxy actors, allowing the user to update only a list of select actors (supports multi-selection)
* Added Rebuild Data button to landscape proxy actors to force building the Nanite data even if the content has not been detected as having been changed
* Landscape proxy actor details now supports multi-selection and allows to display landscape details only if all selected proxies are share the same parent ALandscape
* Fixed Nanite landscape which would fail to build at 64 components (while it actually supports up to 64 components)
* Fixed NaniteLODIndex, which would show in the details panel even when Nanite landscape is not enabled
* Added progress bar when building Nanite from the details panel buttons
* Disable navigation data on Nanite landscape static mesh

#rb chris.tchou
#preflight 637cec082a05dabce96cf332

[CL 23243849 by jonathan bard in ue5-main branch]
2022-11-22 19:52:28 -05:00
jonathan bard
ac5edb6a33 Fixed typos
#rb trivial
#preflight trivial
#rnx

[CL 23026065 by jonathan bard in ue5-main branch]
2022-11-08 06:18:04 -05:00
jonathan bard
42a6558b6a Added slow task when building Landscape Nanite meshes through the details panel button
#rb luc.eygasier
#preflight 634708268a0a7b2adc90b08b
#rnx

[CL 22505490 by jonathan bard in ue5-main branch]
2022-10-13 11:38:05 -04:00
chris tchou
803094ae27 Change landscape info Proxy pointers to be TWeakObjectPtr, so they won't act as GC references
#rb jonathan.bard
#preflight 63335cb2dc213d2eadcd61b2

[CL 22217645 by chris tchou in ue5-main branch]
2022-09-27 23:53:05 -04:00
bryan sefcik
b93a6cf7ed Pass 1 on editor include fixes:
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 631e283bec5b0c765fc0ffdb

[CL 21960084 by bryan sefcik in ue5-main branch]
2022-09-11 18:33:06 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
luc eygasier
2218ae88c3 Hides "Enable Edit Layers" when creating a new landscape and from Landcape property details when in Restrictive Mode.
#preflight 62ab3db6ea213dadf0cddb81
#rb Jonathan.Bard

#ROBOMERGE-OWNER: luc.eygasier
#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 20689719 via CL 20689735 via CL 20689815 via CL 20689856
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v968-20684695)

[CL 20693393 by luc eygasier in ue5-main branch]
2022-06-16 16:04:07 -04:00
graham wihlidal
10f753fd63 Refactored Landscape Nanite rebuilds to (by default) only occur during saving, cooking, or explicitly clicking the "Rebuild Data" button on the top level Landscape actor. This makes the sculpting/editing tools usable without massive rebuild hitches. By default now, any edits will invalidate Nanite and fall back to regular landscape rendering until the representation is updated again. This is a hopefully short term approach until we have proper asynchronous builds happening without user involvement. Live rebuilds (with hitching) can be re-enabled now with the landscape.LiveRebuildNaniteOnModification cvar.
[FYI] jonathan.bard, ola.olsson, brian.karis
#preflight 629eae3958032863432ffeba

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 20581139 via CL 20581834 via CL 20582434
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20585495 by graham wihlidal in ue5-main branch]
2022-06-09 17:58:16 -04:00
luc eygasier
164e1d0ca2 * Enables landscape mode for UEFN
* Whitelists Left Tab to allow Landscape mode panel to be hosted properly
* Adds Rowtag to Landscape Custom UI details to enable property filtering (custom details name were "None", therefore blocked)

#rb Jonathan.Bard
#preflight 62221bb5b066ef60bba698f0

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 19266167 via CL 19267521 via CL 19274783 via CL 19278382 via CL 19293680
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19345011 by luc eygasier in ue5-main branch]
2022-03-10 19:36:40 -05:00
jonathan bard
e9d53fecd6 Fixed crash when unloading a level with a landscape actor being displayed in the details view and both the details and level tools on-screen
[REVIEW] patrick.enfedaque


#ROBOMERGE-SOURCE: CL 11107543 via CL 11107544
#ROBOMERGE-BOT: (v640-11091645)

[CL 11107545 by jonathan bard in Main branch]
2020-01-24 14:06:14 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
patrick enfedaque
df6000599c Landscape Layers: Change some UI to reflect naming: "Landscape Edit Layers"
#rb none
#rnx


#ROBOMERGE-SOURCE: CL 9420263 via CL 9422301
#ROBOMERGE-BOT: (v480-9420520)

[CL 9422365 by patrick enfedaque in Main branch]
2019-10-04 16:17:25 -04:00
patrick enfedaque
76f79884ae Landscape Layers no longer Experimental Feature
#rb richard.malo
#rnx


#ROBOMERGE-SOURCE: CL 6913188 via CL 6914657
#ROBOMERGE-BOT: (v366-6836689)

[CL 6914812 by patrick enfedaque in Main branch]
2019-06-10 14:55:57 -04:00
patrick enfedaque
acedb9043c - Landscape: Add New Information Category in Details Customization that displays some important Landscape Details (Component Count, Resolution, Overall Resolution...)
[FYI] richard.malo
#rnx


#ROBOMERGE-SOURCE: CL 6864990 via CL 6866114
#ROBOMERGE-BOT: (v366-6836689)

[CL 6866128 by patrick enfedaque in Main branch]
2019-06-06 15:34:43 -04:00
patrick enfedaque
ba1df93bae Fix Landscape Detail Customization showing duplicate property
#rb none
[FYI] matt.kuhlenschmidt


#ROBOMERGE-SOURCE: CL 6860055 via CL 6860623
#ROBOMERGE-BOT: (v366-6836689)

[CL 6860701 by patrick enfedaque in Main branch]
2019-06-06 10:50:28 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
Helge Mathee
c39aadd03a Fix UE Main Build break in non PCH non unity
#jira UE-75008
#fyi lina.halper
#rb lina.halper

[CL 6620378 by Helge Mathee in Main branch]
2019-05-23 14:49:49 -04:00
patrick enfedaque
0817e0cfc0 -Landscape Layer System: Replace Button by Checkbox to enable/disable layer system
#jira UE-75010
#rb jeanfrancois.dube
[FYI] richard.malo
#rnx


#ROBOMERGE-SOURCE: CL 6617954 via CL 6618709
#ROBOMERGE-BOT: (v358-6608238)

[CL 6618721 by patrick enfedaque in Main branch]
2019-05-23 11:16:48 -04:00
patrick enfedaque
4305bc71b0 Fix Compile Error (VS2019)
#jira UE-74959
#rb none
#rnx


#ROBOMERGE-SOURCE: CL 6608189 via CL 6609177
#ROBOMERGE-BOT: (v358-6608238)

[CL 6609294 by patrick enfedaque in Main branch]
2019-05-22 15:01:20 -04:00
patrick enfedaque
553b18783d -Landscape Layer System: Clear the undo/redo transaction buffer when enabling/disabling the Layer System.
#jira UE-74884
#rb richard.malo
#rnx


#ROBOMERGE-SOURCE: CL 6596670 via CL 6597704
#ROBOMERGE-BOT: (v351-6581450)

[CL 6597759 by patrick enfedaque in Main branch]
2019-05-21 15:17:53 -04:00
patrick enfedaque
b68c8ff284 - Landscape Layer System: Move setting to enable/disable layers to the LandscapeActor itself
#rb richard.malo
[FYI] michael.dupuis
#rnx


#ROBOMERGE-SOURCE: CL 6594261 via CL 6594357
#ROBOMERGE-BOT: (v351-6581450)

[CL 6594360 by patrick enfedaque in Main branch]
2019-05-21 08:07:49 -04:00
Ben Marsh
530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
994a524453 Merging //UE4/Release-4.19 to Release-Staging-4.19 (//UE4/Release-Staging-4.19) @ 3833288
#rb none
#jira no
#rnx

[CL 3833418 by Marc Audy in Staging-4.19 branch]
2018-01-11 16:07:16 -05:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00