Commit Graph

734 Commits

Author SHA1 Message Date
ryan bickell
84cd91e250 Fix VT update to happen with rest of landscape painting tools (smooth, flatten, noise)
#rb jeremy.moore
#fyi jonathan.bard

[CL 16694008 by ryan bickell in ue5-main branch]
2021-06-16 15:06:37 -04:00
brooke hubert
b09bce4900 Upgraded SAssetDropTarget to deal with drag & drop operations of multiple assets, and deprecated single asset events.
To preserve the old behavior, multiple asset drag drop support is off by default.

#Jira none
#preflight 60b93274771eff0001f04dc4
#review-16552770
#rb lauren.barnes richard.malo

[CL 16587196 by brooke hubert in ue5-main branch]
2021-06-08 10:52:13 -04:00
patrick enfedaque
2f1403f229 Landscape: Fix Import crashes/validation inconsistencies
#jira UE-117378, UE-116938
#rb richard.malo, jonathan.bard
#preflight 60bf6e915bc96f0001bb59a3
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 16586781 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v828-16531559)

[CL 16586790 by patrick enfedaque in ue5-main branch]
2021-06-08 10:18:43 -04:00
danny couture
9332b64809 Prepare for the deprecation of direct access to the Resource member of UTexture in favor of the GetResource() accessor.
#rb Francis.Hurteau
#preflight 609e5182ef86d30001ad0a18
#rnx

[CL 16328103 by danny couture in ue5-main branch]
2021-05-14 07:17:32 -04:00
jonathan bard
0270cbb1ae Fixed crash when dropping a BP actor with a nested water body actor in a map with a landscape but no water brush and/or water mesh actor: in that case, the addition of the actor will trigger a UWorld::SpawnActor to create the missing actors, which is forbidden during a construction script :
* Changed the API of the actor factory's CreateActor/SpawnActor in order to take a FActorSpawnParameters in parameter, so as to expose UWorld::SpawnActor's own option to the factory user.
* The level pointer is still part of the function prototypes in order to make it explicit to the user that he needs to pass in a valid ULevel (rather than relying on FActorSpawnParameters's OverrideLevel, which is easy to miss). In the case where OverrideLevel is indeed passed within FActorSpawnParameters, the functions validate that the pointer is the same as the level param
* Also, removed automatic creation of water mesh actor on map load : this is not playing well with world partition because it will keep on creating new actors if the level containing the water mesh actor is not loaded

#rb marc.audy, kevin.ortegren
#jira none
#tests editor + full build preflight

[CL 16219600 by jonathan bard in ue5-main branch]
2021-05-06 08:19:17 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
dmytro vovk
eab8b64ef1 Removed Scene Software Occlusion
#jira none
#rb Dmitriy.Dyomin

[CL 16158927 by dmytro vovk in ue5-main branch]
2021-04-29 13:14:48 -04:00
brooke hubert
a07892d550 The global mode manager should not be accessed in a commandlet environment.
# Moved access that was in the landscape editor module to the landscape editor mode, and added a check which should help better track down invalid access in the future, until we can clean up the global mode tools completely.

#Jira UE-114232
#preflight 6089b7312377910001349bc2
#rb lauren.barnes matt.peters
#fyi patrick.enfedaque

[CL 16148842 by brooke hubert in ue5-main branch]
2021-04-28 17:03:50 -04:00
Patrick Enfedaque
a127941502 Landscape: Highlight landscape proxy bounds in the New/Import landscape tool (based on WorldPartitionGridSize setting)
#rb richard.malo

[CL 16143804 by Patrick Enfedaque in ue5-main branch]
2021-04-28 10:49:34 -04:00
Julien StJean
547c7f160d Optimisation to the legacy texture import and improvement to texture wrapper
Minor change to FImageWrapperBase. GetRaw and GetCompressed now consume the array with the same name instead of having to do a copy of it.
I changed the api IImageWrapper::GetCompressed to return a TArray64<uint8> instead of returning a const TArray64<uint8>&.
Added the format RGBAF to the struct ERGBFormat. Changed the engine code using the EXR image wrapper to reflect that.
The EXR image wrapper now avoid doing an unessary copy of the compressed image when calling compress.

Improvement to the performence of the function UTextureFactory::ImportImage. We now use the magic bytes of the file for certains format to skip some tests.

Here is some performance metrics I captured on my desktop (6 core, 12 threads XEON)

Importing a folder of tiff files (22 files, 4.16 GB Total)
Before: 66.152738 seconds
After: 43.609245 seconds

#jira UEENT-3822
#rb Alexis.Matte

[CL 16128765 by Julien StJean in ue5-main branch]
2021-04-27 11:59:02 -04:00
Matt Peters
c6a0834e2e Change PreSave functions to use IsProceduralChange or IsCooking instead of GIsCookerLoadingPackage so that the extra steps are not taken in EditorDomain saves.
#rb Devin.Doucette
#rnx

[CL 15877209 by Matt Peters in ue5-main branch]
2021-03-31 12:44:41 -04:00
jonathan bard
5d0383b0bd Edit layers landscape : show the "Remove" context menu entry on null layer brushes so that brushes pointing to invalid actors can still be removed
#rb patrick.enfedaque

#ROBOMERGE-OWNER: jonathan.bard
#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-COMMAND: _robomerge[STARSHIP] Release-5.0-EarlyAccess
#ROBOMERGE-SOURCE: CL 15865501 via CL 15865505 via CL 15865531 via CL 15865532
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v786-15839533)
#ROBOMERGE[STARSHIP]: Release-5.0-EarlyAccess

[CL 15866885 by jonathan bard in ue5-main branch]
2021-03-30 15:44:52 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00
patrick enfedaque
864ad62b6c Landscape: Replace UE4 by UE in comments
#jira UE-111665, UE-111774

#rb none

#ROBOMERGE-SOURCE: CL 15776329 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15786016 by patrick enfedaque in ue5-main branch]
2021-03-23 17:59:42 -04:00
Max Chen
9b73c0f152 Editor: Change to SLevelViewport
#jira UE-108941
#rb brooke.hubert

[CL 15520489 by Max Chen in ue5-main branch]
2021-02-24 16:03:09 -04:00
christopher waters
c45f1dfad5 Removing Tessellation:
- Removed Tessellation settings from Materials and Material Interfaces
- Removed Adjacency buffers from Static and Skeletal Meshes.

#jira UE-94564
#rb jeremy.moore, josie.yang, kevin.ortegren, yuriy.odonnell

#ROBOMERGE-OWNER: christopher.waters
#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 15501023 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)
#ROBOMERGE-CONFLICT from-shelf

[CL 15502653 by christopher waters in ue5-main branch]
2021-02-23 14:03:21 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Richard Malo
30351ffe4c Added an option to flip coordinate on Y axis when importing tiled landscape in World Partition.
#rb patrick.enfedaque

[CL 15237755 by Richard Malo in ue5-main branch]
2021-01-28 08:26:47 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Patrick Enfedaque
33b28be996 Landscape: Fix Import tool crash (when resetting heightmap file and going out and in LS Mode)
#rb richard.malo

[CL 15163227 by Patrick Enfedaque in ue5-main branch]
2021-01-22 07:55:42 -04:00
JeanFrancois Dube
02736aad5b Fix crash when changing map in landscape mode.
#rb patrick.enfedaque

[CL 15128341 by JeanFrancois Dube in ue5-main branch]
2021-01-18 08:37:52 -04:00
JeanFrancois Dube
478149441e Fix uninitialized script struct members in landscape structs.
#jira UE-105451
#rb sebastien.lussier

[CL 15033952 by JeanFrancois Dube in ue5-main branch]
2021-01-10 13:48:09 -04:00