88 Commits

Author SHA1 Message Date
juan portillo
a355880055 Remote Control: Added function to check whether a Property from an Object is exposed in RC. This is used primarily for Signatures to not double expose the same property but rather unexpose the existing and expose a new one with the given actions of the protocol.
#rb Jean.Perrier
#jira UE-212362

[CL 36437958 by juan portillo in 5.5 branch]
2024-09-19 12:28:28 -04:00
juan portillo
b8bf3134c3 Remote Control: added Support check for Signature Action as some fields might not be able to execute certain actions (e.g. a field of unsupported type for Controllers should not give option to create a controller with bind).
#rb Loris.Rossi
#jira UE-212362

[CL 34574820 by juan portillo in ue5-main branch]
2024-06-21 16:37:37 -04:00
juan portillo
2dfc3599f2 Remote Control: Moved the Controller suppert check in UI module to its own utility in Logic module
#rb Loris.Rossi
#jira UE-218520

[CL 34572599 by juan portillo in ue5-main branch]
2024-06-21 15:24:28 -04:00
juan portillo
2fc5f115f7 Remote Control: Rename RemoteControlSignatureRegistry to RCSignatureRegistry for readability (+ other file/classes named the same way).
Renamed ActionDefinition to ActionInstance (better naming to the struct's purpose)

[CL 34560243 by juan portillo in ue5-main branch]
2024-06-21 09:29:44 -04:00
juan portillo
0990a3bb67 Remote Control: Added Bind Controller Signature Action
#rb Jean.Perrier
#jira UE-212362

[CL 34554046 by juan portillo in ue5-main branch]
2024-06-20 22:16:27 -04:00
yoan stamant
e6d36d7569 Remove references to deprecated plugin StructUtils (now part of CoreUObject)
#jira UE-216472
#rb devin.doucette

#changelist validated

[CL 34514179 by yoan stamant in ue5-main branch]
2024-06-19 17:04:50 -04:00
yoan stamant
f92989fb33 Fixed include paths following StructUtils being moved to CoreUObject
#jira UE-216472
#rb devin.doucette

[CL 34513428 by yoan stamant in ue5-main branch]
2024-06-19 16:42:16 -04:00
kevin macaulayvacher
276d09f6df Remove all simple usage of REN_ForceNoResetLoaders from the codebase since the flag has been deprecated and currently does nothing. Simple in this case is direct use of the flag with no conditional logic. More complex uses were removed in another change.
#rnx
#rb Francis.Hurteau

[CL 34424068 by kevin macaulayvacher in ue5-main branch]
2024-06-17 11:55:02 -04:00
andrea botti
ac0f9af093 [RemoteControl] Fix direct bind controller creation with BP properties
Directly creating a bind controller dragging a BP float will cause the start value of the controller to mismatch the one of the float

#rb Juan.Portillo

[CL 32279697 by andrea botti in ue5-main branch]
2024-03-15 14:11:33 -04:00
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