Commit Graph

139 Commits

Author SHA1 Message Date
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
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
don boogert
83f017fda3 Landscape : separate tool falloff, size & strength values for paint & sculpt
* Implemented as new Paint  falloff, size & strength members on ULandscapeEditorObject. Doing it this way made it was easier to persist the values different values for paint & sculpt when exiting & re-entering landscape mode.
* Perhaps there are other parameters which could be separated out between paint & sculpt but I hope brush size, strength & falloff are sufficient to make the workflow smoother.

#jira UE-142018
#rb jonathan.bard
#preflight 630f95c4e54ec9d581b23f78

[CL 21724189 by don boogert in ue5-main branch]
2022-08-31 13:40:30 -04:00
roey borsteinas
4c15018624 Landscape: Correctly implemented GetReferencerName for all landscape tools.
#rb jonathan.bard

[CL 21527188 by roey borsteinas in ue5-main branch]
2022-08-23 20:06:26 -04:00
don boogert
3f1594a6dc #jira UE-148580
* Fixed single file export for heightmap/weightmaps
* Added option to export to single file for grid-based worlds
* Fixed a problem where you couldn't import a single heightmap/weightmap file if it was named with the same prefix as the grid-based ones located in the same folder (e.g. Heightmap.png with Heightmap_x0_y0.png, etc. being present in the same folder)
* fixed crash if file pattern resulted in no files
* set import gizmo to location of last export

#ushell-cherrypick of 19676938 by jonathan.bard
#rb don.boogert
#preflight 6303c090c744dac967a93217

[CL 21492627 by don boogert in ue5-main branch]
2022-08-22 16:37:33 -04:00
jonathan bard
552e08f347 * Made landscape edit layers read-only, removed related context menu and prevent layer reordering in non edit layers- related landscape tools (Component Add/Delete/Move/Select,Mask,New/Resize Landscape)
* Don't use a modal error message box when the currently selected edit layer is locked in those tools (since they're not edit layers-related)

#rb luc.eygasier

#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 20643334 via CL 20643341 via CL 20643342
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20644761 by jonathan bard in ue5-main branch]
2022-06-14 07:18:54 -04:00
luc eygasier
8f5e6ffb66 Adds Landscape resolution restriction when in Restricted Mode (example: UEFN), preventing to create landscape if the wanted resolution exceed currently supported safe limits.
Applied to:
* New Landscapes, new imported landscape
* Import Landscape tool
* Add component tool

#jira UE-149015
#preflight 627e98d97c26e247735ca7d1
#rb Michael.Balzer, Jonathan.Bard

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 20187875 via CL 20189504 via CL 20189506 via CL 20189507
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20191648 by luc eygasier in ue5-main branch]
2022-05-13 18:58:05 -04:00
michael balzer
695b291e78 Landscape: Use same edge handles and colors for importing landscape as for new landscape; refactor line drawing code
#preflight 622a52a1641a55d78f4dbd68
#rb jonathan.bard

[CL 19340291 by michael balzer in ue5-main branch]
2022-03-10 14:47:23 -05:00
michael balzer
f3ba869f73 Landscape: Fix resizing of new or imported landscapes by dragging the boundaries
#preflight 62266b638d18d26686052e88
#rb jonathan.bard

[CL 19297606 by michael balzer in ue5-main branch]
2022-03-07 20:28:19 -05:00
Matt Kuhlenschmidt
870e15eda0 Touch up of landscape mode styling.
[CL 17570055 by Matt Kuhlenschmidt in ue5-main branch]
2021-09-20 09:21:05 -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
Patrick Enfedaque
a18fd893cc Move render/trace of AddComponent out of the LandscapeEdMode and in the tool.
#rb richard.malo

[CL 14878154 by Patrick Enfedaque in ue5-main branch]
2020-12-08 09:07:44 -04:00
Richard Malo
43a93e33d6 Fixed Import Landscape not rendering preview of imported data
#jira UE-103243
#rb patrick.enfedaque

[CL 14786217 by Richard Malo in ue5-main branch]
2020-11-19 09:00:50 -04:00
Sebastien Lussier
2802b0e9bd Scaling in Landscape mode makes actor move out
#jira UE-102287
Notify selection change when switching to the landscape copy/paste tool
Doing so will properly update the GLevelEditorModeTools().PivotLocation
#rb patrick.enfedaque

[CL 14675945 by Sebastien Lussier in ue5-main branch]
2020-11-06 09:00:59 -04:00
Patrick Enfedaque
92b6346f13 Landscape: New Import/Export Tool allows importing/exporting multiple files to support large worlds (WorldPartition)
#rb richard.malo

[CL 14651731 by Patrick Enfedaque in ue5-main branch]
2020-11-04 09:21:48 -04:00
Patrick Enfedaque
c814528b26 Landscape: New helper class allows changing Landscape Configuration (Component Size, Num Subsection, WorldPartition GridSize)
#rb richard.malo

[CL 14490266 by Patrick Enfedaque in ue5-main branch]
2020-10-14 08:06:05 -04:00
Patrick Enfedaque
bacc04caf5 WorldPartition:
- Added support for New Landscape with a Grid Size setting to split new landscape into StreamingProxies
- Support Add Component tool so that it creates new Grid proxies when needed
ActorPartitionSubsystem:
- Support for Partition Guid to allow multiple actors of the same type (different grids)

#rb richard.malo

[CL 14386797 by Patrick Enfedaque in ue5-main branch]
2020-09-24 10:42:45 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -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
c1cda00c02 Landscape Visibility Painting: Fix tool so Visibility can be painted even if some Landscape actors don't have a Hole Material set. (check per component)
#rb richard.malo
[FYI] robert.osborne


#ROBOMERGE-SOURCE: CL 10708346 via CL 10713361
#ROBOMERGE-BOT: (v610-10636431)

[CL 10713537 by patrick enfedaque in Main branch]
2019-12-13 14:22:46 -05:00
patrick enfedaque
b6beb6f5fd LevelGrid: Editgrate CL 9688728 + 9743673 from //UE4/Dev-Editor-OpenWorld
MoveComponentsToLevel now part of ULandscapeInfo

#rb sebastien.lussier
#rnx


#ROBOMERGE-SOURCE: CL 10069686 via CL 10069687
#ROBOMERGE-BOT: (v574-10069753)

[CL 10074309 by patrick enfedaque in Main branch]
2019-11-07 15:08:37 -05:00
jon nabozny
6b60663f39 Update Engine and Plugins to use the new Getters / Setters for UActorComponent, USceneComponent, and AActor replicated properties
[at]Ryan.Gerleve, [at]Brian.Bekich
#rb None


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 9290108 via CL 9290249
#ROBOMERGE-BOT: (v452-9288972)

[CL 9290520 by jon nabozny in Main branch]
2019-09-29 16:49:10 -04:00
patrick enfedaque
07bda83362 Fix LandscapeComponent.h Linux Compile warning
#jira UE-80146
#rb none
#rnx


#ROBOMERGE-SOURCE: CL 8636176 via CL 8649818
#ROBOMERGE-BOT: (v412-8640799)

[CL 8649962 by patrick enfedaque in Main branch]
2019-09-12 02:06:21 -04:00
patrick enfedaque
2c7196687a Landscape Layers: Fix Crash when passing empty component list (when Landscape.Optim == 1) to the layer render
#rb richard.malo
[FYI] kendall.tucker, robert.osborne


#ROBOMERGE-SOURCE: CL 8503356 via CL 8503912
#ROBOMERGE-BOT: (v406-8472469)

[CL 8509332 by patrick enfedaque in Main branch]
2019-09-05 15:45:33 -04:00