Commit Graph

79 Commits

Author SHA1 Message Date
andrea botti
973e5606de [RemoteControl] Fix ensure hit with Text action
Fix Text action that hit an ensure when changing their value

#rb Juan.Portillo
#jira UE-208923

[CL 32021439 by andrea botti in ue5-main branch]
2024-03-05 11:00:28 -05:00
andrea botti
da1381ba6c [RemoteControl] Lock toggle for RemoteControl
Lock toggle for Vectors/Rotators to make x/y/z maintain ratio when changing one

#rb Loris.Rossi
#jira UE-207471

[CL 31941974 by andrea botti in ue5-main branch]
2024-03-01 09:12:39 -05:00
andrea botti
a1a311d81f [RemoteControl]
Add Group Id Drag and change it to create PropId Action

#rb Juan.Portillo
#jira UE-207477

[CL 31728210 by andrea botti in ue5-main branch]
2024-02-22 13:31:16 -05:00
andrea botti
5a143e5488 [RemoteControl]
Fix automation Test failing

#rb jeremie.roy
#jira UE-206663

[CL 31571835 by andrea botti in ue5-main branch]
2024-02-16 13:16:17 -05:00
andrea botti
426fff8540 [RemoteControl]
Array Customization for Path behaviour to add Input button

#rb Juan.Portillo

[CL 31291814 by andrea botti in ue5-main branch]
2024-02-08 10:16:21 -05:00
andrea botti
342e26f279 [RemoteControl]
Fix:
- Instead of Emptying the RealProperties in propId now we only add newer ones
- Crash when creating a behaviour
- Crash when copying some Struct
- Blocked copy of ObjectProperty value in PropId Action to avoid crash (For example with the Material)
- Added copy for Struct only if Allowed (Color/LinearColor/Vector/Rotation)
- Crash when calling OnObjectPropertyChanged in Preset because recursive in some case
- Changed from AddLambda to AddSPLambda

#rb Matt.Chapman

[CL 30928835 by andrea botti in ue5-main branch]
2024-01-26 12:25:58 -05:00
steve robb
f43fc1d782 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30894388 by steve robb in ue5-main branch]
2024-01-25 14:09:12 -05:00
andrea botti
440d435889 [RemoteControl]
Fix:
- PropId not always working correctly in Game
- Float property will be treated as Double
- Color property will be treated as LinearColor

#rb Loris.Rossi

[CL 30883734 by andrea botti in ue5-main branch]
2024-01-25 08:37:25 -05:00
andrea botti
ec6193d3ff [RemoteControl]
Fix:
- Block creation of actions that are not supported by PropertyBag
Since the function that returns the value type is private we have to use a workaround by creating a BagDesc and then retrieve the value type from that to check that it is not None.

#rb Juan.Portillo

[CL 30883087 by andrea botti in ue5-main branch]
2024-01-25 07:57:46 -05:00
andrea botti
daf4c5271a [RemoteControl]
Sub-Property Id

#rb Juan.Portillo

[CL 30721354 by andrea botti in ue5-main branch]
2024-01-19 13:21:33 -05:00
andrea botti
c5c3eb54be [RemoteControl]
Adding support for FVector2D Controller

#rb jeremie.roy

[CL 30624041 by andrea botti in ue5-main branch]
2024-01-15 16:06:36 -05:00
andrea botti
06444f17fc [RemoteControl]
Conditional will execute actions that changed their value if the action condition evaluate to true based on the controller value.

#rb Jean.Perrier

[CL 30597649 by andrea botti in ue5-main branch]
2024-01-12 13:05:37 -05:00
andrea botti
ca55822ef8 [RemoteControl]
Fix horde issue 412496: Undefined symbol

#rb Matt.Chapman
#jira UE-203394

[CL 30482714 by andrea botti in ue5-main branch]
2024-01-08 11:30:27 -05:00
jean perrier
8efd81cbcc [Remote Control] Adding Renew of Entity and Controller Guids when duplicating an embedded RemoteControlPreset.
Requirement:
The requirement of this comes from the "combo template" feature of Avalanche. As all the controller and entity values of different sub-level's embedded presets are combined in the same page, guid collisions must be avoided.

The combo template creation will fail if it detects guid collisions between the guids.

Feature:

When the parent asset (either level or bp) is duplicated, the embedded preset will renew the entity and controller's guids automatically.

If users want to create combo templates of existing assets that have guid collisions, the fix is to duplicate them.

This has been restricted to embedded presets only.


Implementation:

Entity Ids are used as index in several classes of the overall data structure (identified by inspection).

The UpdateEntityIds function has been added to propagate the re-indexing throughout the rc data structures.

New delegates have been added if propagation beyond the rc data structures are required.

#jira UE-203352
#rb Juan.Portillo
#rnx

[CL 30459707 by jean perrier in ue5-main branch]
2024-01-01 16:32:06 -05:00
andrea botti
bad95429f7 [RemoteControl]
Avoid Add Action button and drag and drop to add properties with warnings.
Fix behaviour conditions to either:
- All allow the property
- All don't allow the property

#rb Juan.Portillo

[CL 30459300 by andrea botti in ue5-main branch]
2024-01-01 08:54:30 -05:00
andrea botti
66e554fc0d [RemoteControl]
Add multi selection for Actions and support for multi-selection for the commands.

#rb Matt.Chapman

[CL 30453592 by andrea botti in ue5-main branch]
2023-12-28 09:09:08 -05:00
andrea botti
410dfd6998 [RemoteControl]
Update value option when right clicking an Action.

#rb Juan.Portillo

[CL 30290100 by andrea botti in ue5-main branch]
2023-12-13 08:05:19 -05:00
andrea botti
7246f0ba8f [RemoteControl]
Bind controller of type float/integer can now bind to vectors

#rb Matt.Chapman

[CL 30267016 by andrea botti in ue5-main branch]
2023-12-12 12:29:02 -05:00
andrea botti
3597cc6867 [RemoteControl]
Better error in RC, both for the Editor and the API.

#rb jeremie.roy, Simon.Therriault

[CL 30082923 by andrea botti in ue5-main branch]
2023-12-04 10:58:52 -05:00
jerome delattre
f8f54bca70 Relocate tests under "Plugin." to "Plugins.".
#jira UE-179877
#rb chris.constantinescu, rob.huyett, sean.sweeney, sebastian.lewicki

[CL 30022699 by jerome delattre in ue5-main branch]
2023-11-30 15:42:17 -05:00
andrea botti
5572d35fe6 [RemoteControl]
Adding multi selection.

#rb jeremie.roy

[CL 29637796 by andrea botti in ue5-main branch]
2023-11-10 08:41:08 -05:00
andrea botti
3a6759af19 [RemoteControl]
Fix FText hitting an ensure because the StructOnScope is not setting the Package in the PropertyIdAction

#rb jeremie.roy

[CL 29092787 by andrea botti in ue5-main branch]
2023-10-25 12:40:52 -04:00
andrea botti
7a873986b2 [RemoteControl] RemoteControl
New feature PropertyID and PropertyIdAction

#rb jeremie.roy

[CL 28088567 by andrea botti in ue5-main branch]
2023-09-21 12:02:15 -04:00
dario mazzanti
bc350e8881 [Remote Control] Remove Custom Controller execution on post load
Custom controllers added automatic execution on PostLoad (see https://p4-swarm.epicgames.net/changes/25874141).

This CL removes the support for that (given that the execution of controllers is non-deterministic), and gives the control back to the user.
This change also prevents issues related to unreliability, and assets being automatically modified/dirtied on scene load.

#rb Jeremie.Roy

[CL 27796590 by dario mazzanti in ue5-main branch]
2023-09-12 12:43:55 -04:00
andrea botti
85f88ff233 [RemoteControl] RemoteControlUI
Behaviour add button change, adding all behaviour and grey out the ones that can't be used with the specific controller

#rb jeremie.roy

[CL 27078624 by andrea botti in ue5-main branch]
2023-08-14 14:19:41 -04:00