Commit Graph

1522 Commits

Author SHA1 Message Date
charles lefebvre
fffa38146d Fix array paste when the input string contains commas
#jira UE-202295
#rb Brooke.Hubert
#tests Copy paste arrays with commas
#rnx

[CL 30968690 by charles lefebvre in ue5-main branch]
2024-01-29 10:00:34 -05:00
mike zyracki
9c8acb1685 Property Editor: Add getting the expansion state for a detail property row, which is needed in the following jira so we can show/hide widgets based upon expansion state. Also need to get the property row from the root nodes so added function to detail layout to do that.
#jira UE-200125
#rb Max.Chen

[CL 30958370 by mike zyracki in ue5-main branch]
2024-01-27 23:01:11 -05:00
maxime mercier
386a5e2352 Prevent property propagation for object using overridable serialization
#rb Phillip.Kavan

[CL 30928517 by maxime mercier in ue5-main branch]
2024-01-26 12:18:05 -05:00
maxime mercier
cdabdb790b Fix build break
#rb kurtis.schmidt

[CL 30889454 by maxime mercier in ue5-main branch]
2024-01-25 11:43:59 -05:00
thomas sarkanen
a0daf6d314 Fixed per-track compression to not allow selection of invalid scale formats
Also fixes various property metadata helpers when dealing with enums held in containers

#jira UE-151969
#rb jaime.cifuentes

[CL 30775416 by thomas sarkanen in ue5-main branch]
2024-01-22 11:21:18 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
karen jirak
2fec708326 Overrides widget support phase 2
- enabled code in details single item row to show the overrides widget
- added code to the overrides style keys to provide the visibility based on overrides state of the edit property chain (for properties) and object inputs
- Updates to the details display managers to get the property update widgets by providing the edit property chain, needed for override state for properties
- updated the overrides combo button code to iterate through the style keys and show any the have been initialized to show for the current override state
- currently conntains API changes to provide the override state for properties

#jira UE-192054
#rb aditya.ravichandran

[CL 30678106 by karen jirak in ue5-main branch]
2024-01-17 23:35:33 -05:00
daren cheng
e07d373c2c Speculative fix Object name crash when no objects selected.
#jira UE-196979
#rb JeanMichel.Dignard

[CL 30673589 by daren cheng in ue5-main branch]
2024-01-17 18:15:37 -05:00
robert rouhani
8e69aa74c1 Remove property buttons on the header row of statically sized arrays of class properties
#jira UE-204021
#rb aditya.ravichandran

[CL 30662663 by robert rouhani in ue5-main branch]
2024-01-17 12:48:21 -05:00
vincent gauthier
18cd69b474 PropertyEditor Truncation warning fixes
#jira UE-166271
#rb zahra.nikbakht

[CL 30624677 by vincent gauthier in ue5-main branch]
2024-01-15 17:05:29 -05:00
vincent gauthier
7093f1e0c8 PropertyEditor Truncation fixes
#rb karen.jirak
#jira UE-166271

[CL 30622888 by vincent gauthier in ue5-main branch]
2024-01-15 14:25:54 -05:00
evgenii babinets
261e765995 More unreachable code fixes.
#rb simon.orr

[CL 30619462 by evgenii babinets in ue5-main branch]
2024-01-15 10:46:36 -05:00
loris rossi
efb2156d72 PropertyRowGenerator : exposing filter function for generated rows
#rb Jamie.Dale, Karen.Jirak

[CL 30616010 by loris rossi in ue5-main branch]
2024-01-15 05:45:06 -05:00
jordan hoffmann
38254fee20 [Refactor] Renaming scenegraph 'archetypes' to 'ObjectInstanceData'
[CL 30605552 by jordan hoffmann in ue5-main branch]
2024-01-12 17:22:37 -05:00
david bromberg
71e3da8dc8 Sequencer: Major integration of Universal Object Locators into Sequencer. This includes:
* Adding some first pass UI for editing the Universal Object Locators that are used to bind objects to tracks in Sequencer. This is currently in the form of:
   * An 'Add Empty Binding' item in the + Actor to Sequencer menu
   * A 'Binding Properties' sub-menu in the object binding track properties that allows you to modify the array of UOL's that bind objects to the track. This allows you to specifically select certain UOL types and then fill in the data that makes up that UOL. This is necessary for example for the FortAIPlayerPawn    binding we plan on adding for UEFN.
* Major refactor of MovieScene binding code to more seamlessly allow for the use of the Locator resolution, especially in the case of supporting locators that spawn actors, either in the case of editor preview actors or future runtime 'spawnables'. This was necessary to consolidate the cases where locator resolve params were being created to as few places as possible for simplicity.
* Add the concept of 'default' editor and runtime flags to locators to make it easier for Sequencer to know how to interact with bindings of different types. These flags are then stored with the binding in Sequencer and editable by users as necessary. Sequencer treats 'load'/'unload' in this case similar to 'spawn'/'despawn' and generally speaking resolving a locator with editor flags of 'load' will expect the locator to spawn an actor for preview, while resolving a locator with runtime flags of 'load' will expect the locator to create a 'spawnable' character.
* To manage lifetime of these preview/spawnable characters, created an interface for a 'LocatorSpawnedCache' which the locators interact with when creating or destroying an actor. This allows the resolver of locators to differentiate between cases where they expect multiple resolves of the same locator to create duplicate actors vs. resolve to the same actor and track the lifetimes of these spawned actors.
* Sequencer implements the above cache within its own object cache in evaluation state.
* Expand the role of the previously created Binding Lifetime track to trigger loading/unloading via locators in the cache. The Binding Lifetime track will now automatically be added to a binding if its locator type contains 'Load' as a default editor or runtime flag.
* Some other editor updates to support the above.

Future issues to be resolved:
* We want to more easily expose the editing of binding properties when necessary rather than having it buried in a sub-menu. Ideas for this include some kind of UI on the track itself, for example a combo box with binding types on it, as well as potentially the properties menu appearing on hovering over the possessable icon on the object binding track. We also want to expose properties based on selection, for example object binding properties, track properties, and section properties, in another external window.
* We want to eventually replace the 'Actor to Sequencer' and 'Assign Actor' menu with this once the UX is better.

The above was all tested with a Fortnite NPC Locator type which will be added in a separate changelist.

[REVIEW] [at]ue-sequencer
#jira UE-199299

[CL 30596833 by david bromberg in ue5-main branch]
2024-01-12 12:41:00 -05:00
jordan hoffmann
c9540402b2 [Feature] Made it so objects will display as archetypes in the details panel if an archetype exists
[BugFix] Inlined Subobjects not displaying correctly in left panel of archetype fixup tool
#rb Francis.Hurteau, karen.jirak
#jira UE-197746

[CL 30573552 by jordan hoffmann in ue5-main branch]
2024-01-11 14:07:26 -05:00
charles lefebvre
e476b609c7 Replace GetEnabledEnumValues by GetRestrictedEnumValues
#rb Guillaume.Guay
#tests PIE

[CL 30412476 by charles lefebvre in ue5-main branch]
2023-12-20 10:40:50 -05:00
charles lefebvre
059cd28bb4 Add GetValidEnumValues to be able to filter enums dynamically
#rb Guillaume.Guay
[FYI] jamie.dale, karen.jirak
#rnx

[CL 30401851 by charles lefebvre in ue5-main branch]
2023-12-19 15:29:51 -05:00
jordan hoffmann
de315435e6 [CrashFix] Missing nullptr check in SDetailsSplitter.cpp CanCopyPropertyValue
#rb logan.buchy

[CL 30359502 by jordan hoffmann in ue5-main branch]
2023-12-15 16:00:17 -05:00
kerim borchaev
94d4108245 [SceneGraph] Workflow tests: tagged DetailsView.CategoryComboButton and fixed tests after recent changes in DetailsView
#jira UE-192054
[FYI] karen.jirak
#rb kerim.borchaev

[CL 30344327 by kerim borchaev in ue5-main branch]
2023-12-15 03:41:12 -05:00
karen jirak
ef63dc505f Overrides support UI in the details panel plugged into the FOverridesManager API.
1. Updated the Category menu to include the override component menu item
2. Updated the Overrides combobutton to take in the component and show the proper widget whether overridden fully or inside. For now it will have no associated menu items
3. Updated DetailsDisplayManager and EntityDetailsDisplayManager to have the property update widgets take in the name of the object (component in this case) that will be watched for override changes to show the status
4. Updated the calls to those in the Detail Category Table Rows to pass in the category object name

#jira UE-192054
#rb aditya.ravichandran

[CL 30342099 by karen jirak in ue5-main branch]
2023-12-14 21:28:24 -05:00
patrick enfedaque
b7eaad89dc WorldPartition: Add UActorDescContainerInstance/FWorldPartitionActorDescInstance which take transient/context data from UActorDescContainer/FWorldPartitionActorDesc leaving them as pure on disk representations.
- UActorDescContainerInstance contains: Transform, ContainerID, InstancingContext
- FWorldPartitionActorDescInstance contains: ResolvedDataLayers, RefCounts, Remapped Instanced actor path, Actor loading code

#rb JeanFrancois.Dube, Richard.Malo, Sebastien.Lussier
#tests editor, cook, pie, hlod builder, level instance, internal projects

[CL 30260359 by patrick enfedaque in ue5-main branch]
2023-12-12 06:59:42 -05:00
huw bowles
acda5231f2 Patch fix for a consistent crash from Details panel code when selecting actors in level. Author of related code contacted to discuss.
[FYI] jared.cotton
#rb huw.bowles

[CL 30233028 by huw bowles in ue5-main branch]
2023-12-11 05:19:11 -05:00
jared cotton
b6aa506f02 SOL-5617 - "The editor UI for [at]editable optionals does not respect property type customization"
- if we encounter a set option in `FDetailPropertyRow` we use its value instead. This allows for cusomizations to just 'work' without any special handling for options.
    - Note: There is some case-handling to ensure the display name is still the options rather than the values.

[CL 30214987 by jared cotton in ue5-main branch]
2023-12-08 13:18:12 -05:00
charles lefebvre
9493547288 Fix unloaded class not allowed even if it is in the list of allowed classes
#rnx
#rb Jamie.Dale
[FYI] karen.jirak
#tests UEFN

[CL 30095541 by charles lefebvre in ue5-main branch]
2023-12-04 16:37:27 -05:00