Commit Graph

48 Commits

Author SHA1 Message Date
robert manuszewski
d3991fec9b Fixing potential compile errors ahead of enabling TObjectPtr GC barrier
#rb trivial

[CL 26868625 by robert manuszewski in ue5-main branch]
2023-08-05 06:09:54 -04:00
semion piskarev
209f74eda8 LandscapePatch: Fix "Reinitialize Height" button now working with some height encoding settings. Add some helpful comments
#rb Jonathan.Bard
#jira UE-178789

[CL 26504722 by semion piskarev in ue5-main branch]
2023-07-20 23:01:41 -04:00
semion piskarev
8110232cd9 LandscapeTexturePatch: Make the texture backed render targets use a hash of their texture for its DDC guid to avoid spurious recompiles if it is reset in a construction script.
#rb Jonathan.Bard

[CL 26320991 by semion piskarev in ue5-main branch]
2023-06-29 14:14:35 -04:00
jonathan bard
f7df9777cc Fixed visibility weightmaps being uselessly generated when using landscape patches : now, we only generate those when a patch actually writes visibility.
This allows the landscape to use opaque mode rather than masked, which is crucial performance-wise.

#rb luc.eygasier
#preflight 646e22f31b241f074831ee09

[CL 25607691 by jonathan bard in ue5-main branch]
2023-05-24 13:31:11 -04:00
semion piskarev
b9764a8972 LandscapePatch: Fix the patch marking actors as dirty when it is hidden and unhidden.
#rb Jonathan.Bard
#preflight 63ff7b97f43e53f6812ef124

[CL 24469463 by semion piskarev in ue5-main branch]
2023-03-01 15:41:31 -05:00
christopher waters
e36f641e34 Non-comprehensive pass on removing dllexport's from global shader types. Shader types only need exports on their boilerplate macro (DECLARE_GLOBAL_SHADER -> DECLARE_EXPORTED_GLOBAL_SHADER) and any "setter" methods not defined inline.
#rb jason.nadro
#preflight 63f932b9b879197e73746415

[CL 24414091 by christopher waters in ue5-main branch]
2023-02-24 20:12:29 -05:00
luc eygasier
4ec4d24598 Adds setter for weight patches visibilitylayer modification
#rb Jonathan.Bard
#preflight 63ef9e9513586f2c1014f5d3

[CL 24289476 by luc eygasier in ue5-main branch]
2023-02-17 15:28:30 -05:00
luc eygasier
8062afc2c3 Adds Landscape BP Brush visibility layer editing.
* Deprecate Render method for BP Brushes, RenderLayer should now be used
* Adds FLandscapeBrushParameters struct that should be used to pass arguments when rendering a layer
* Modifies ELandscapeToolTargetType to be an enum class, usable by blueprints
* Adds BP Brush visibility layer toggle in Landscape Editor
* Adds visibility layer editing for LandscapeCircleHeightPatches
* Adds visibility layer editing for LandscapeTexturePatches
* Adds helper method to determine if a layer info object name is a visibility layer

#jira UE-163386
#rb Jonathan.Bard
#preflight 63ebb119e92f139c51b2a842

[CL 24251734 by luc eygasier in ue5-main branch]
2023-02-16 01:57:40 -05:00
henrik karlsson
9183978e29 [Engine/Plugins]
* Removed includes (using IWYU) in private files

#preflight 63c79978ac35a0e9dabbe408
#rb none

[CL 23770038 by henrik karlsson in ue5-main branch]
2023-01-19 00:48:07 -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
henrik karlsson
3c9aacb1ad [Engine/Plugins]
* Updated public headers for ~170 engine plugins using iwyu to remove includes not needed. Removed includes are still available behind UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63c08f4a2a6acaf1622bcc73
#rb none

[CL 23674775 by henrik karlsson in ue5-main branch]
2023-01-13 01:54:01 -05:00
henrik karlsson
2f78497e67 [Engine/Plugins]
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn

#preflight 63bf8d8b577437afe607dc72
#rb none

[CL 23659643 by henrik karlsson in ue5-main branch]
2023-01-12 01:48:34 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
semion piskarev
3843ef0415 LandscapePatch: Fix minor bug where patch manager is hard to reattach through detail panel to the same landscape if it was removed from that landscape in landscape mode.
#rb Jonathan.Bard
#jira none
#preflight 6388e7ec303395f6c93766ea

[CL 23367220 by semion piskarev in ue5-main branch]
2022-12-01 19:16:11 -05:00
jonathan bard
824aee969d Fixed uninitialized USTRUCT param warnings
#rb semion.piskarev
#rnx
#preflight 637c2def815e4b9b7524a5dd

[CL 23232049 by jonathan bard in ue5-main branch]
2022-11-22 02:00:50 -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
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
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
semion piskarev
6676dc61ce LandscapePatch: Make weight patch info owning patch pointer be a weak pointer instead of raw.
#rb Jonathan.Bard
#preflight 6331e6720d6a7155ba48fb16

[CL 22232321 by semion piskarev in ue5-main branch]
2022-09-28 17:58:32 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
semion piskarev
cc3d546f04 LandscapePatch: Prevent landscape update requests while cooking and such. Add extra information to warning messages to make the problematic patches easier to find.
#rb Jonathan.Bard
#preflight 632381f4600516561b178e5c

[CL 22050218 by semion piskarev in ue5-main branch]
2022-09-16 11:29:40 -04:00
semion piskarev
48b2a68955 LandscapePatch: Fix static analyzer warning about potential nullptr.
#rb none
#preflight 6312415c7b21ad1e0aae467a

[CL 21767708 by semion piskarev in ue5-main branch]
2022-09-02 17:09:49 -04:00
semion piskarev
2290e4fe85 LandscapePatch: Preserve current state of render targets across construction script reruns. Consider texture patches to be disabled if all source modes are "none", and don't request landscape updates while disabled. Give ability to reattach a patch manager to a landscape. Give warnings for issues that might arise if landscape or patch manager are not saved.
#rb Jonathan.Bard
#preflight 63116e51f51ef182ab61ff56

[CL 21759119 by semion piskarev in ue5-main branch]
2022-09-02 10:34:30 -04:00
semion piskarev
f74fb0d565 LandscapePatch: Remove the old LandscapeTextureHeightPatch.
#rb Jonathan.Bard
#preflight 63111af96e2fda1377a33d33

[CL 21754538 by semion piskarev in ue5-main branch]
2022-09-01 23:33:39 -04:00
semion piskarev
095d9f97b5 LandscapePatchManager: Remove ensure when finding a pending patch pointer that turns out to be invalid in the patch manager.
#rb Jonathan.Bard
#preflight 63038f9bc85b7fef224ad597

[CL 21500423 by semion piskarev in ue5-main branch]
2022-08-22 21:40:17 -04:00