Commit Graph

19 Commits

Author SHA1 Message Date
mikko mononen
c06beb8571 SmartObject improvements
- Fixed hashing when adding shared fragment for smart object slot definition
- Added per slot Runtime Tags
- Added common event handling for Smart Object and Slot changes and events
- Added annotations, which are slot definition data that has visualization
- Added linked slot annotation which allows behavior reuse on slots
- Added editor only ID for each slot so that they can be identified during edits
- Added SmartObject slot reference type that can be used to reference other slots in the Smart Object
- Changed Smart Object bDisable to bEnabled
- Added separate enabled state for slots
- Changed Smart Object disable to send an event, not forcefully unclaim
- Added more visualization support for Smart Object editor (canvas, visualize annotations)
- Changed Smart Object editor to use the commonly transform for slots
- Remove Smart Object Component instance from the asset editor as it was not needed

#rb Stephen.Holmes
#preflight 6360f0cf63608aee36e01ba5

[CL 22888712 by mikko mononen in ue5-main branch]
2022-11-01 15:11:25 -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
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
robert millar
5396f7f214 FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for some misc code in plugins.

#jira UE-161932
#rb matt.peters
#preflight https://horde.devtools.epicgames.com/job/631fa3f6bd77c5883fe68184

[CL 21984919 by robert millar in ue5-main branch]
2022-09-13 12:20:10 -04:00
Maxime Mercier
6c04f7e142 Fix crash when undoing a slot delete in smart object editor
#jira UE-161602
#review-21566360
#preflight 6307ace27164ac1860183a3c

[CL 21568434 by Maxime Mercier in ue5-main branch]
2022-08-25 13:47:35 -04:00
Zousar Shaker
3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00
yoan stamant
2ad9eead0e [SmartObject] added EditorStyle to be able to set icon for Blackboard key type SmartObjectClaimHandle
#rnx
#rb maxime.mercier
#preflight 624707e3c61d8a458f5f01f5

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19589605 via CL 19589612 via CL 19589626
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19590977 by yoan stamant in ue5-main branch]
2022-04-01 13:05:21 -04:00
yoan stamant
db29723293 [SmartObject] refresh gizmos when slot offset or rotation is modified from the Details panel
#rnx
#rb maxime.mercier
#preflight 6202a023e85c7a08bbed6efa

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18906839 via CL 18907043 via CL 18907093 via CL 18918945 via CL 18919861
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18919910 by yoan stamant in ue5-main branch]
2022-02-09 12:15:14 -05:00
yoan stamant
fc3cf27145 [SmartObject] Keep track of the last preview actor class / mesh used as preview for the asset editor
#rb mikko.mononen
#preflight 61f13ea27266f4e79bcec4dd

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18734265 in //UE5/Release-5.0/... via CL 18734271 via CL 18734303
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18734306 by yoan stamant in ue5-main branch]
2022-01-26 07:44:21 -05:00
yoan stamant
208464179f Fixed code analysis issue #136527
#preflight 61ef18f8ca3de856bcd8fad0

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18714790 in //UE5/Release-5.0/... via CL 18714824 via CL 18715180
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18716929 by yoan stamant in ue5-main branch]
2022-01-24 18:55:27 -05:00
yoan stamant
5e776f0b94 [SmartObjectEditor] added missing copyright notices
#rb trivial
#preflight 61eed9eaaa3f15faa57dab2a

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18710180 in //UE5/Release-5.0/... via CL 18710202 via CL 18710332
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18710506 by yoan stamant in ue5-main branch]
2022-01-24 12:27:37 -05:00
yoan stamant
57825eb624 [SmartObject] improved visualization and authoring
+ added component visualizer for smart object allowing visualization of the associated definition
+ added dedicated AssetEditor, UserSettings, AssetToolkit, AssetTypeActions and ViewportClient
+ updated SmartObjectsEditorModule to register AssetType actions and visualizers
#preflight 61eecfc18f38611657eddbb7

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18709637 in //UE5/Release-5.0/... via CL 18709664 via CL 18709798
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18709831 by yoan stamant in ue5-main branch]
2022-01-24 11:36:13 -05:00
yoan stamant
8051c24070 Fix issue #134915
#rb trivial
#preflight 61e8753db875abaf332daa3f

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 18665725 in //UE5/Release-5.0/... via CL 18665734 via CL 18665746
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18665761 by yoan stamant in ue5-main branch]
2022-01-19 16:13:53 -05:00
matt peters
e2962f88c9 SavePackage: Deprecate Conform and DiffMap arguments, and change the interface to use a FSavePackageArgs struct instead of a large number of separate arguments.
#rb Francis.Hurteau
[RN] Core, Minor

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18279152 in //UE5/Release-5.0/... via CL 18279174
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18279186 by matt peters in ue5-release-engine-test branch]
2021-11-23 20:56:06 -05:00
jeanfrancois dube
b778cf9013 World Partition Builders: renamed OnPartitionBuildStarted/OnPartitionBuildEnded to PreRun/PostRun.
#rb sebastien.lussier

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18268959 in //UE5/Release-5.0/... via CL 18268968
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18268972 by jeanfrancois dube in ue5-release-engine-test branch]
2021-11-23 08:13:41 -05:00
luc eygasier
5de6dfdd88 Updates WorldPartitionBuilder RunInternal from FBox to FCellInfo version.
Fixes mac non-unity compilation.

#rb Sebastien.Lussier
#changelist validated

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 18087691 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18087713 by luc eygasier in ue5-release-engine-test branch]
2021-11-08 11:17:01 -05:00
luc eygasier
dda6fd46d5 Modifies WorldParitionMinimapBuilder to use Virtual Textures, loading iteratively cells.
* Adds Virtual Texture rendering for Slate Element
* Adds Initialize/Finalize methods to WorldPartition builders

#rb JeanFrancois.Dube, Jeremy Moore, Sebastien.Lussier
[FYI] Yoan.StAmant

#changelist validated

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 18063075 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18063089 by luc eygasier in ue5-release-engine-test branch]
2021-11-04 16:13:08 -04:00
yoan stamant
1cbe440fe2 [SmartObjects]
* Collection entry holds the Transform, Bounds and Index to the shared configuration. This removes the dependency on components being loaded to create runtime data for partitioned worlds.
* Removed commented references to SparseClassData since that approach won't be used (actor component not supported)
* Runtime data now points to a shared configuration from the collection instead of holding a copy
* Subsystem tracks components registered at runtime so the collection can be updated accordingly since those entries won't persist outside of loading range
* Moved most initialization code for the subsystem to the OnWorldComponentsUpdated callback since active level collection is set and actors from the persistent level registered.

[WorldPartitionBuilder]
* Added OnPartitionBuildStarted/OnPartitionBuildCompleted virtual methods
* New UWorldPartitionSmartObjectCollectionBuilder to build SmartObjectCollection in partitioned worlds

#preflight 61814a46fc786a0001447995
#jira UE-105113
#rb maxime.mercier

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-COMMAND: FnMain
#ROBOMERGE-SOURCE: CL 18019580 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 18019655 by yoan stamant in ue5-release-engine-test branch]
2021-11-02 11:12:43 -04:00
mieszko zielinski
31a5065342 Moved GameplayBehaviors out of restricted folder over to Experimental
Moved SmartObjects out of restricted folder
Moved StateTree out of restricted folder
Moved ZoneGraph out of restricted folder
Moved ZoneGraphAnnotations out of restricted folder

#jira UE-115297

#ROBOMERGE-OWNER: mieszko.zielinski
#ROBOMERGE-AUTHOR: mieszko.zielinski
#ROBOMERGE-SOURCE: CL 17648223 via CL 17648246 via CL 17648261 via CL 17648385 via CL 17648390
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE-CONFLICT from-shelf
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17648742 by mieszko zielinski in ue5-release-engine-test branch]
2021-09-28 13:33:00 -04:00