Commit Graph

827 Commits

Author SHA1 Message Date
don boogert
af26b158de Landscape : Fix height pack function.
#rb jonathan.bird
[REVIEW] 63768e1ec85523092aad49a7

[CL 23184849 by don boogert in ue5-main branch]
2022-11-17 17:11:51 -05:00
luc eygasier
14f82a4586 Fixes Landscape ImportTool resolution computation. Should be 0 and not depending on the imported landscape resolution since the tool will import the data in the existing texture and not create a new one.
#rb Jonathan.Bard, Don.Boogert
#preflight 6362d0ad522c8f7ab3528467

[CL 22968343 by luc eygasier in ue5-main branch]
2022-11-03 17:58:40 -04:00
don boogert
bc09867a1c Landscape : Don't change Tool selection on LandscapeEd undo
Prevent Select & Sculpt modes being selected on LandscapeEdMode Undo hander.

#rb jonathan.bard
#jira UE-149396
#preflight 6363e468f233f06a125a6c9f

[CL 22956226 by don boogert in ue5-main branch]
2022-11-03 12:21:31 -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
luc eygasier
f423542242 Overrides reset to default button for LandscapeMaterial when creating a new landscape. Now resets the value to the set default landscape material.
#rb Jonathan.Bard
#preflight 635c4116ae6840072d4a473f

[CL 22917962 by luc eygasier in ue5-main branch]
2022-11-02 11:46:21 -04:00
chris tchou
ef279e8cfd Fix Landscape Add components tool so it does not add tiles disconnected from the existing tiles
#rb jonathan.bard
#jira UE-167792
#preflight 635c21fe3c0af539fd599eef

[CL 22876158 by chris tchou in ue5-main branch]
2022-10-31 20:56:54 -04:00
luc eygasier
c71c43f191 Adds Landscape Build item menus to UEFN.
#rb Jonathan.Bard
#preflight 6359a51df1493f9786291681

[CL 22808787 by luc eygasier in ue5-main branch]
2022-10-27 09:35:03 -04:00
chris tchou
2d74f33a2c Fix for editor freezing (going into near-infinite loop) when editing Landscape in Orthographic view mode
#rb
#jira UE-168156
#preflight 6358374a7a09a4c1bc4da683

[CL 22795856 by chris tchou in ue5-main branch]
2022-10-26 18:17:09 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -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
chris tchou
9710665bd4 Fix for crash on Undo after selecting Landscape
#rb
#jira UE-167884
#preflight 6352cb419e14ee3c79a4bcf1

[CL 22712148 by chris tchou in ue5-main branch]
2022-10-22 15:34:44 -04:00
jonathan bard
622e880576 Fixed crash when creating ULandscapeEditorObject's CDO. We don't really care whether the default alpha texture's source data is readable or not at this point.
#rb don.boogert
#jira UE-166677
#preflight 63499cdcce524ed356f8a09c
#rnx

[CL 22546758 by jonathan bard in ue5-main branch]
2022-10-14 22:22:18 -04:00
patrick enfedaque
e64a54f349 Fix failed check (wrong assumption) when merging LandscapeSplineActors
#rb richard.malo
#preflight skip
#rnx

[CL 22546731 by patrick enfedaque in ue5-main branch]
2022-10-14 22:19:59 -04:00
jonathan bard
d51446ba11 * Disabled Layer Info object creation from the asset picker context menu in the Create and the Paint landscape panels.
* Prevented landscape layer info objects to be created when the default landscape layer info object in the project settings is invalid (i.e. it has a path but the asset is missing)

#rb luc.eygasier
#jira UE-166603
#preflight 6348147b8d665d55d0a2d417

[CL 22509740 by jonathan bard in ue5-main branch]
2022-10-13 15:05:52 -04:00
patrick enfedaque
76b3516dd4 LandscapeSpline: While one Control Point is selected on a LandscapeSplineActor, "Ctrl+Click" a Control Point from a different LandscapeSplineActor will merge both actors together.
- Moves the second spline into the first actor and adds a segment between points
- Deletes the second actor

#rb jonathan.bard
#preflight 6347f277b757820b7a30f70e
#rnx

[CL 22507563 by patrick enfedaque in ue5-main branch]
2022-10-13 13:20:10 -04:00
aditya ravichandran
ba72f580d4 Outliner: Update the list of default type filters
Add the ability for other modules to add custom filters to the Level Editor Outliner
#jira UE-165115
#rb Brooke.Hubert
#preflight 6345779f8b06e0aaa0f298e0

[CL 22505460 by aditya ravichandran in ue5-main branch]
2022-10-13 11:35:32 -04:00
jeanfrancois dube
24188090b0 Fix all known cases of GetTypedOuter<UPackage> since it's not valid anymore with override packages.
#rb francis.hurteau
#preflight 633ee7528579446629e2cb5d
#rnx

[CL 22398835 by jeanfrancois dube in ue5-main branch]
2022-10-07 08:12:45 -04:00
jonathan bard
62a0ad4af1 Fixed the 2 places in landscape where we're reading texture data on the CPU and assume that it's valid :
* SplineFalloffModulationTexture for Layer Info Object : we now log an error when applying the change and don't apply modulation in case the texture data is invalid
* AlphaTexture for the alpha brush : we now log an error when setting the texture and revert to the default texture in case the texture data is invalid

Misc:
* Fixed undo/redo for Layer Info Object not triggering an update of the landscape splines

#rb don.boogert
#jira UE-162111
#preflight 633b4aa8ef773945652ac746

[CL 22366349 by jonathan bard in ue5-main branch]
2022-10-05 19:15:18 -04:00
joe pribele
0574fc6d7a removed usage of TObjectPtr.IsNull and IsNullNoResolve
#rb zousar.shaker
#p4v-preflight-copy 22193787

[CL 22361481 by joe pribele in ue5-main branch]
2022-10-05 15:34:23 -04:00
jonathan bard
3b070b1ede Fixed ensure in Chaos when LandscapeFlatten tool is used with an invalid mouse position (e.g. while working in RDP)
#jira UE-164952
#preflight trivial
#rb luc.eygasier
#rnx

[CL 22179023 by jonathan bard in ue5-main branch]
2022-09-26 05:49:44 -04:00
michael balzer
6d9c418879 Landscape: Limit "Fill World" in restrictive mode to 2k x 2k
#preflight 632bb02ec7791417aa5a53d5

[CL 22173127 by michael balzer in ue5-main branch]
2022-09-24 13:29:38 -04:00
bryan sefcik
892629fe83 Fixed some paths that got updated to include the full "ThirdParty" path.
#jira
#preflight 6320877bbc40358fa2995069

[CL 21997782 by bryan sefcik in ue5-main branch]
2022-09-13 21:48:33 -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
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
jonathan bard
06a4f233bb Fixed keyboard shortcuts for landscape paint brush
#rb chris.tchou
#jira UE-162793
#rnx

[CL 21746056 by jonathan bard in ue5-main branch]
2022-09-01 15:40:57 -04:00