Commit Graph

1788 Commits

Author SHA1 Message Date
francis hurteau
af7b368efa Allow Control Rig with invalid parent class to load with crashing.
#rb Phillip.Kavan, Sara.Schvartzman
#jira UE-168377
#preflight 636aabe5843e6ac794d92b3b

[CL 23040045 by francis hurteau in ue5-main branch]
2022-11-08 16:28:43 -05:00
nate strohmyer
c4b2e38146 Making a Drag/Drop action for Input Actions into the Blueprint Graph
#Jira UE-161947
#rb ben.hoffman
#preflight 635c52813c0af539fd66d17c

[CL 23040016 by nate strohmyer in ue5-main branch]
2022-11-08 16:28:09 -05:00
phillip kavan
624db875b8 Avoid doing a full Blueprint action database refresh on the next UI tick after incurring one or more dynamic module loads in the editor.
#jira UE-168994
#rb Jordan.Hoffmann
#preflight 636a6185843e6ac794c3f889

[CL 23031490 by phillip kavan in ue5-main branch]
2022-11-08 12:30:45 -05:00
jordan hoffmann
53ed818cfc [BugFix] Crash diffing a blueprint with a Spawn Actor node
#jira UE-169249
#rb phillip.kavan
#preflight 63696f4c843e6ac79482d59e

[CL 23017736 by jordan hoffmann in ue5-main branch]
2022-11-07 16:07:18 -05:00
ben hoffman
a1787abe74 Update promotable operator nodes to only have one conversion menu instead of having a second submenu that lists all the types.
#preflight 63487186f622f6c4bbde0dda
#rnx
#rb dave.jones2

[CL 22988788 by ben hoffman in ue5-main branch]
2022-11-04 12:12:44 -04:00
jordan hoffmann
5845b98142 [BugFix] Inconsistent behavior in root component transform scale values for dynamically-spawned Blueprint actor instances.
#jira UE-62747
#jira UE-67537
#rb phillip.kavan
#rb marc.audy
#preflight 6361a0ac522c8f7ab3fb85c9

[CL 22927305 by jordan hoffmann in ue5-main branch]
2022-11-02 17:26:35 -04:00
jordan hoffmann
e08d98b3b9 [Backout] - CL22894037
#fyi jordan.hoffmann
Original CL Desc
-----------------------------------------------------------------
[BugFix] Inconsistent behavior in root component transform scale values for dynamically-spawned Blueprint actor instances.
#jira UE-62747, UE-67537
#preflight 6361a0ac522c8f7ab3fb85c9

[CL 22895970 by jordan hoffmann in ue5-main branch]
2022-11-01 20:20:15 -04:00
jordan hoffmann
155432a8ef [BugFix] Inconsistent behavior in root component transform scale values for dynamically-spawned Blueprint actor instances.
#jira UE-62747, UE-67537
#preflight 6361a0ac522c8f7ab3fb85c9

[CL 22894037 by jordan hoffmann in ue5-main branch]
2022-11-01 19:01:49 -04:00
dave jones2
fbc4acfd47 UE-166921 - Make Lidar Point Cloud Point Node has had the Location input change from a Vector to a Vector 3f
Promotable operators weren't aware that certain struct types are implicitly convertible (eg: FVector/FVector3f). Similar to PC_Real, we need to treat these pairs of structs as equivalent types. This can be easily done by checking to see if there's an implicit conversion entry in FStructConversionTable.

#jira UE-166921
#preflight 635c58df1b41d36d487c9ec2
#rb ben.hoffman

[CL 22872666 by dave jones2 in ue5-main branch]
2022-10-31 17:18:29 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -04:00
rex hill
ecc97c9487 Blueprint: Update an ensure to include the name of the asset
#rb eric.knapik
#preflight 63473c078a0a7b2adc9e0e4e

[CL 22534836 by rex hill in ue5-main branch]
2022-10-14 17:12:06 -04:00
dan oconnor
e6e377a6e4 Use fallback struct and permissive Cast to avoid crashing when missing a structure (e.g. because it was deleted)
#jira UE-163922
#rb Phillip.Kavan
#preflight 6346f9bfb757820b7aef0017

[CL 22484128 by dan oconnor in ue5-main branch]
2022-10-12 15:41:41 -04:00
danny couture
df8be2ca9a Fix some edgraph node trying to create transactions on async loading thread
#rb Dan.OConnor
#preflight 6340d28e607039cbc18da002

[CL 22414925 by danny couture in ue5-main branch]
2022-10-07 21:59:36 -04:00
nick darnell
f90bd2583c Blueprint - Keeping things TObjectPtr in the Select node to prevent loading on expansion.
[REVIEW] [at]Dan.OConner, [at]Joe.Pribele

[CL 22368156 by nick darnell in ue5-main branch]
2022-10-05 20:43:46 -04:00
joe pribele
0574fc6d7a removed usage of TObjectPtr.IsNull and IsNullNoResolve
#rb zousar.shaker
#p4v-preflight-copy 22193787

[CL 22361481 by joe pribele in ue5-main branch]
2022-10-05 15:34:23 -04:00
jordan hoffmann
b424ea1ed2 Loctext Namespace fix
#preflight none
#jira none
#rb trivial

[CL 22263135 by jordan hoffmann in ue5-main branch]
2022-09-30 00:46:35 -04:00
jordan hoffmann
4f8b39348d [Bug Repro] Error in 'Multiple Cook Client' LogWindows: Error: begin: stack for UAT
K2Node_BaseMCDelegate::HasExternalDependencies is accessing garbage data during cooks. To help find a repro, this change will log more info when we see the problem
#rb dan.oconnor

[CL 22244065 by jordan hoffmann in ue5-main branch]
2022-09-29 02:21:31 -04:00
danny couture
3cd99217c2 Fix minor BP issues when async loading thread is activated
#rb Dan.OConnor
#preflight 633339cca4769ad714ffe652

[CL 22214891 by danny couture in ue5-main branch]
2022-09-27 19:29:13 -04:00
phillip kavan
7ef9563646 Don't allow composite nodes to be pasted into Blueprint graphs that aren't schema-compatible.
Change summary:
- Added UEdGraphSchema_K2::DoesSupportCollapsedNodes() as an overridable API for K2-based schema types. Also added overrides for derived schemas that do not currently support collapsed subgraphs as a feature (e.g. AnimBPs).
- Added a UK2Node_Composite::CanCreateUnderSpecifiedSchema() override. This will be called when determining node types that can be created from clipboard content (see FGraphObjectTextFactory in EdGraphUtilities.cpp).
- Modified UK2Node_Composite::PostPasteNode() to exclude nodes that are not schema-compatible from the pasted subgraph. Also updated to reassign the subgraph schema to match the target graph.
- Modified FEdGraphUtilities::MergeChildrenGraphsIn() to emit an error to the message log when a subgraph cannot be merged into a parent graph due to schema incompatibility. This also adds an appropriate error context to the source node(s).
- Modified FKismetCompilerContext::ProcessOneFunctionGraph() to early exit if we fail to merge subgraphs while processing the intermediate function graph. This prevents us from attempting to further compile an intermediate graph that's in an invalid state, which previously would lead to an ensure() and later fail due to a non-specific compile error.

#jira UE-157885
#rb Dan.OConnor, Thomas.Sarkanen
#preflight 6331e2fd10030508069622f2

[CL 22205520 by phillip kavan in ue5-main branch]
2022-09-27 10:17:29 -04:00
jordan hoffmann
10a39d7362 [BugFix] There's no way to see local function variables in blueprint diffs, preventing me from reviewing their changes
#jira UE-151463
#rb dan.oconnor
#preflight 63323f81665f6b8f7f076459

[CL 22203061 by jordan hoffmann in ue5-main branch]
2022-09-27 06:57:12 -04:00
phillip kavan
befdf280c6 Exclude override flag members from the optional input pin set on MakeStruct nodes.
Overview:
- An "override flag" is an inline toggle-style Boolean edit condition. These are implicitly set to true at runtime within the output struct value if any member that's bound to it is exposed as a visible input pin on a MakeStruct node.
- For context, the Property Editor implicitly sets an override flag to true at edit time when a member that's bound to it is enabled for editing. These members are not otherwise labeled/exposed for direct editing.
- An override flag is meant to signal to a system that the user wishes to use the bound member's value in place of the current value (whatever that may be) when the full struct value is applied. Examples: FPostProcessSettings, FMovieSceneSequencePlaybackSettings, etc.

Previous UX:
- All boolean edit conditions were being treated as override flags on a MakeStruct node.
- Any inline toggle edit condition that did not begin with "bOverride_" or whose suffix otherwise did not match another value member could be exposed as an input on a MakeStruct node.
- Override flags exposed as inputs would always be set to TRUE at runtime regardless of input if it was declared at the top of the struct and if a member value bound to it was also exposed as an input pin.

After this change:
- Only inline toggle edit conditions and legacy struct members that follow the "bOverride_" naming convention will be treated as an override flag on a MakeStruct node.
- Inline toggle edit conditions can no longer be exposed directly as an input on a MakeStruct node. The intent was to bring the MakeStruct node UX closer to parity with the Property Editor UX.

Additional notes:
- Members that follow the legacy "bOverride_" naming convention were already being excluded from the optional input pin set on MakeStruct nodes if another member property name also matched its suffix. These have historically been excluded from ALL optional pin sets that utilize any FOptionalPinManager subtype (regardless of node type), so there was no change here.
- Existing MakeStruct nodes that may have already exposed inline toggle edit condition members as input pins will now orphan those pins on load if connected or if set to a non-default value (true). The "correct" way to set an override flag is by choosing to expose a member that's bound to the override condition as an input.
- Existing BreakStruct nodes are unchanged currently. Meaning, inline edit conditions that don't follow the legacy "bOverride_" convention can still be optionally exposed as an output pin. This UX was preserved as existing Blueprint logic could conceivably rely on the value of an override flag.
- Only one implicit assignment is now emitted for each override flag binding. Previously, we were emitting one assignment statement per bound property, so it could result in redundant assignments to the same flag if more than one property was bound to it.

#jira UE-147873
#rb Ben.Zeigler, Sebastian.Nordgren
#preflight 632c7353c7791417aa87f3bf

[CL 22164359 by phillip kavan in ue5-main branch]
2022-09-23 20:20:58 -04:00
danny couture
c4322f6ecd Don't try to create transactions while recompiling BP in async loading
#rb Dan.OConnor
#preflight 6329a1b6a236a029dec3c90f

[CL 22090779 by danny couture in ue5-main branch]
2022-09-20 07:47:56 -04:00
ben hoffman
cc575b7427 Fix a bug with ConvertAsset nodes that were spawned during the expansion of a promotable operator. The pin name on the ConvertAsset node does not match the normal "Return" pin name, so it would always be null and cause a crash.
#jira none
#rb benjamin.fox
#rnx
#preflight 631f983c6b33144ab245b7c1

[CL 21984752 by ben hoffman in ue5-main branch]
2022-09-13 12:13:50 -04:00
ben hoffman
857ecc1ab5 Check for if Pins are compatible, not if they are equal, when determining available promotable operator functions.
#jira UE-162876
#preflight 631f982b065c4ac9ce651d54
#rnx
#rb ben.zeigler

[CL 21984744 by ben hoffman in ue5-main branch]
2022-09-13 12:13:34 -04:00
joe pribele
527323e1d4 [Engine] added IsDefaultAsString to optimize and compare to default value
#rb dan.oconnor
#p4v-preflight-copy 21907138

[CL 21976407 by joe pribele in ue5-main branch]
2022-09-12 19:53:27 -04:00