Commit Graph

76 Commits

Author SHA1 Message Date
ben hoffman
a5087e8000 Fix type promotion to correctly exclude UEdGraphSchema_K2::PC_SoftClass, not the PC_SoftObject.
#jira UE-146282
#rb phillip.kavan
#preflight 6279a232057d42a0e414f6ae

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 20128580 in //UE5/Release-5.0/... via CL 20129423
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20132121 by ben hoffman in ue5-main branch]
2022-05-10 19:40:14 -04:00
ben hoffman
a7bbad4535 Make Soft object references not supported by Type Promotion because it doesnt work correctly. This will make it so that the old options show up in the context menu by default, which is the correct behavior.
#jira UE-146282
#rb phillip.kavan
#preflight 626857711638ac249e912831

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 19931082 in //UE5/Release-5.0/... via CL 19932342
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19933337 by ben hoffman in ue5-main branch]
2022-04-26 20:53:22 -04:00
Phillip Kavan
38e6b760c3 Customized Blueprint editor and project settings for global namespace imports entry.
Change summary:
- Moved base "managed list" customization out into its own class so that it can be shared with editor/project settings customization.
- Refactored Blueprint global options (i.e. Class Settings) details customization to utilize the new "managed list" base class.
- Removed filter text as a customizable managed list display option and redefined it to be more consistent with property editor nodes.
- Fixed the "Imports" display in Class Settings to no longer list global imports in the non-default section.
- Added a new details customization for UBlueprintEditorSettings.
- Added a customized editor for the 'NamespacesToAlwaysInclude' property for both local user settings and shared project settings.
- Moved the "Add" button for imports and interfaces to be on the same line as the header row (eliminates some wasted space in the details view).
- Fixed up global import property display names and tooltips to be more descriptive.
- Fixed an issue that prevented reselection of the previous namespace setting in the Blueprint namespace entry combo box after clearing it.
- Fixed the incorrect vertical alignment of import/interface item rows.

#jira UE-143552, UE-133369, UE-136904, UE-142557
#rb Ben.Hoffman
#preflight 622ba26c46679d56c31dddda

[CL 19365260 by Phillip Kavan in ue5-main branch]
2022-03-11 19:47:16 -05:00
Phillip Kavan
b5863c2b95 Some minor refactoring to assist with handling removal/reassignment of Blueprint namespaces.
Change summary:
- Added a code path for removing a namespace from the BP editor context.
- Consolidated namespace helper instances into a single BP editor context.
- Extended the FBlueprintEditor::ImportNamespace() API to accept additional options and a post-import callback.
- Refactored the auto-import code path to fix issues with reassignment to/from an imported namespace.
- Decoupled SSubobjectBlueprintEditor from a namespace-aware callback in favor of a generalized "add" callback.
- Linked the CVar for inheriting parent BP imports to a transient BP setting (experimental/not user-facing).
- Consolidated code to gather global/default imports into a utility API so that namespace sets are consistent.
- Modified "Imports" view to include a "default imports" section (similar to inherited interfaces) - these are not removable.
- Moved "Inherited Interfaces" section to be sorted above the "Implemented Interfaces" section for consistency.
- Fixed SBlueprintNamespaceEntry to query for the current text rather than only setting it at construction time.

#jira UE-133288
#rb Ben.Hoffman
#preflight 621ff4b337049be51738bafe

[CL 19236263 by Phillip Kavan in ue5-main branch]
2022-03-02 20:48:04 -05:00
phillip kavan
648232be02 Expose an editor setting that will more easily allow users to toggle Blueprint namespace-related editor features on/off.
#jira UE-139971
#rb Benjamin.Fox
#preflight 61eeef014018b3d62e6e902b

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 18712084 in //UE5/Release-5.0/... via CL 18712094 via CL 18712339
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18712359 by phillip kavan in ue5-main branch]
2022-01-24 14:14:32 -05:00
michael noland
6eb87c05e5 Moved BaseClassesToAllowRecompilingDuringPlayInEditor from experimental to *both* blueprint project settings and blueprint editor preferences (so it can be enabled for everyone in a given project for safe base classes as well as the existing 'local power user' cases)
- Also got rid of the loaded class cache in favor of a cached state for just opened BP editors that gets invalidated when settings are edited or the BP is (directly) reparented
#jira UE-81056
#rb marc.audy
#preflight 61e0aa1b6e49801093696899

#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 18609404 in //UE5/Release-5.0/... via CL 18609465 via CL 18609499
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18609551 by michael noland in ue5-main branch]
2022-01-13 18:38:06 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
phillip kavan
3c5db8f4f5 Add a new Blueprint editor workflow setting to allow the user to choose how to restore breakpoints on Blueprint asset reload.
#jira UE-124598
#rb Justin.Hare
#preflight 6138e92c9c40ec000129baeb

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 17471835 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17471845 by phillip kavan in ue5-release-engine-test branch]
2021-09-09 09:37:41 -04:00
phillip kavan
c1eff83c4a Fix for a regression in which we could fail to resolve object paths for certain Blueprint assets during BP graph node pin reference initialization at load time.
Change summary:
- Reverted FEdGraphPinReference back to using TWeakObjectPtr (fixes the regression by restoring previous behavior).
- Added FBlueprintWatchedPin as a new type intended for FBlueprintEditorSettings config data; this internally uses TSoftObjectPtr to match the existing behavior that was being used to export pin objects as soft rather than weak. It also matches how breakpoints are being stored, and allows for future extensions to watched pin context without affecting the underlying pin reference type used by the rest of the engine code.
- Modified the FKismetDebugUtilities APIs for watched pins to utilize the new type in place of FEdGraphPinReference.

#jira UE-122163, UE-122339
#rb Ben.Hoffman
#preflight 61314857d031a400010a709a

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 17443581 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17443598 by phillip kavan in ue5-release-engine-test branch]
2021-09-07 08:58:16 -04:00
ben hoffman
2acf03759e Refresh the type promotion table after modifying the blacklist
#jira UE-123517
#rb phillip.kavan
#rnx

#ROBOMERGE-SOURCE: CL 17421438 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17421809 by ben hoffman in ue5-release-engine-test branch]
2021-09-03 11:26:28 -04:00
ben hoffman
5f7ed374e9 Add a blacklist of pin types to blueprint type promotion to allow users to disallow types that they want explicit functions. Add the string type by default as it has multiple compare functions that should be a choice for the user.
#jira UE-115454
#rb phillip.kavan
#rnx

#ROBOMERGE-SOURCE: CL 17215485 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17218009 by ben hoffman in ue5-release-engine-test branch]
2021-08-18 13:34:50 -04:00
jordan hoffmann
347cbc497e Feature: Move breakpoint storage out of the uasset file
Description: Make it so breakpoints are saved in the EditorPerProjectUserSettings ini rather than blueprint uasset files so that they can be excluded from version control and be unique to the user

#jira UE-119540
#rb Ben.Zeigler

#ROBOMERGE-SOURCE: CL 16959614 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16959625 by jordan hoffmann in ue5-release-engine-test branch]
2021-07-26 15:05:16 -04:00
jordan hoffmann
fc1e2f1624 [Backout] - CL16933419
[FYI] jordan.hoffmann
Original CL Desc
-----------------------------------------------------------------
Feature: Move breakpoint storage out of the uasset file
Description: Make it so breakpoints are saved in the EditorPerProjectUserSettings ini rather than blueprint uasset files so that they can be excluded from version control and be unique to the user

#jira UE-119540
#preflight 60fa0407224826000161cd31

#ROBOMERGE-SOURCE: CL 16934737 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16934748 by jordan hoffmann in ue5-release-engine-test branch]
2021-07-23 01:07:21 -04:00
jordan hoffmann
a634abbbdd Feature: Move breakpoint storage out of the uasset file
Description: Make it so breakpoints are saved in the EditorPerProjectUserSettings ini rather than blueprint uasset files so that they can be excluded from version control and be unique to the user

#jira UE-119540
#preflight 60fa0407224826000161cd31

#ROBOMERGE-SOURCE: CL 16933419 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16933421 by jordan hoffmann in ue5-release-engine-test branch]
2021-07-22 21:20:28 -04:00
jordan hoffmann
e099a701f5 [Backout] - CL16915099
[FYI] jordan.hoffmann
Original CL Desc
-----------------------------------------------------------------
Feature: Move breakpoint storage out of the uasset file
Description: Make it so breakpoints are saved in the EditorPerProjectUserSettings ini rather than blueprint uasset files so that they can be excluded from version control and be unique to the user

#jira UE-119540

#ROBOMERGE-SOURCE: CL 16929845 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16929852 by jordan hoffmann in ue5-release-engine-test branch]
2021-07-22 15:40:59 -04:00
jordan hoffmann
f03adfe4f0 Feature: Move breakpoint storage out of the uasset file
Description: Make it so breakpoints are saved in the EditorPerProjectUserSettings ini rather than blueprint uasset files so that they can be excluded from version control and be unique to the user

#jira UE-119540

#ROBOMERGE-SOURCE: CL 16915099 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16915117 by jordan hoffmann in ue5-release-engine-test branch]
2021-07-21 16:40:18 -04:00
danny chapman
4cab553815 Navigation into/out of Blendspace graphs
#rb thomas.sarkanen
#jira UE-117372

#ROBOMERGE-SOURCE: CL 16771404 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16771411 by danny chapman in ue5-release-engine-test branch]
2021-06-24 08:41:55 -04:00
phillip kavan
4249ae08aa More groundwork for namespaces.
Change summary:
- Consolidated transient setting flags into UBlueprintEditorSettings; no longer dependent on UEditorExperimentalSettings. These continue to mirror the CVars for now. Also restored the sink function so that changing options will refresh the UI.
- Compiling a Blueprint will now inject the namespace into the class metadata if it is set on the UBlueprint asset.
- Added IsImportedType()/IsImportedObject() helper methods to FBlueprintNamepaceHelper.
- Added a CVar to provide a way to test the inclusion of parent class namespaces when checking scope; disabled by default for now to preserve current behavior.

#jira UE-108316

#ROBOMERGE-SOURCE: CL 15558978 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15558982 by phillip kavan in ue5-main branch]
2021-03-01 13:21:24 -04:00
phillip kavan
9de6577201 Move namespace feature flags into settings (transient for now); add a CVar sink function to bind current flags to settings.
#rnx
#rb None
#jira UE-108316

#ROBOMERGE-SOURCE: CL 15396010 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15396024 by phillip kavan in ue5-main branch]
2021-02-12 00:00:49 -04:00
ben hoffman
85e12b7616 Re-enable type promotion by default
#jira UE-106876
#rb me
#rnx

[CL 15160275 by ben hoffman in ue5-main branch]
2021-01-21 18:48:12 -04:00
ben hoffman
8823aea8c2 disable type promotion by default due to being unable to connect actors to the not equal node
#jira UE-106876
#rb me
#rnx

[CL 15153817 by ben hoffman in ue5-main branch]
2021-01-21 09:39:56 -04:00
ben hoffman
4dbe118c5b Bluelprints: Enable type promotion by default!
Change from using a CVar to a BP editor preferences setting for a better user experience now that it is feature complete with no known bugs.

#jira UE-102405
#rnx
#rb phillip.kavan
#fyi mason.seay

[CL 15132643 by ben hoffman in ue5-main branch]
2021-01-18 17:17:19 -04:00
danny chapman
f9cfe6a701 Fixes problem with not being able to navigate up in event/anim graphs using PageUp.
Adds shortcut of double-click to navigate up. Disabled by default for now - see the BlueprintEditor settings to enable & send feedback

#jira UE-105149
#rb thomas.sarkanen,phillip.kavan

[CL 15082887 by danny chapman in ue5-main branch]
2021-01-14 08:03:53 -04:00