Commit Graph

753 Commits

Author SHA1 Message Date
Maciej Mroz
2a4acc4a2a A warning when a event has output (non-const) parameter.
UE-10836 Blueprint Interfaces cannot pass by reference between two blueprints

[CL 2529627 by Maciej Mroz in Main branch]
2015-04-28 21:49:03 -04:00
Maciej Mroz
8ee2a47122 UE-14582 Many warnings about bSelfContext == true, but no scope supplied opening QA-Blueprints
#codereview Mike.Beach, Marc.Audy

[CL 2529278 by Maciej Mroz in Main branch]
2015-04-28 17:43:29 -04:00
Michael Schoell
75062929e3 Added alias for ATAN to the MathExpression node so ARCTAN is also supported.
#jira UE-11570  - ATan is not available in a Math Expression

[CL 2528585 by Michael Schoell in Main branch]
2015-04-28 11:36:35 -04:00
Michael Schoell
a2863038dc Fixed some dangerous localizable strings and improved Blueprint function/event node title localization support.
#jira UE-14414 - Japanese node labels are not displayed properly

[CL 2528578 by Michael Schoell in Main branch]
2015-04-28 11:31:15 -04:00
Mike Beach
4be3e2524c [UE-11455] Fixing up some Blueprint breaking issues that were caused by upgrading a project to 4.7/4.8
* Preventing variable object type changes from breaking pin connections (when the type was changed to a super type)
    * Turning "wasted cast" errors into node warnings.
    * ValidateVariableNames() now walks the whole super chain to look for conflicting property names
    * Added a warning to the SpawnActor node (to catch when users are passing a null class)

[CL 2527127 by Mike Beach in Main branch]
2015-04-27 12:55:58 -04:00
Mike Beach
e556554c1c [UE-14230] Extending FMemberReference so it can properly represent global delegate signatures (and have a UPackage for the member's parent).
#codereview maciej.mroz, jaroslaw.palczynski

[CL 2527120 by Mike Beach in Main branch]
2015-04-27 12:46:38 -04:00
Maciej Mroz
4d804326e0 K2Nodes::HasExternalBlueprintDependencies and K2Nodes::HasExternalUserDefinedStructDependencies were changed into HasExternalDependencies and can return native structs
[CL 2525803 by Maciej Mroz in Main branch]
2015-04-25 17:47:39 -04:00
Maciej Mroz
ee6d70dfa1 UE-13981 Input pins of BP node are not updated after a hot reload
#codereview Robert.Manuszewski

[CL 2525773 by Maciej Mroz in Main branch]
2015-04-25 16:18:36 -04:00
Maciej Mroz
c26fa990d1 Foix for shadow local variable
[CL 2525348 by Maciej Mroz in Main branch]
2015-04-24 21:49:17 -04:00
Maciej Mroz
1b5607713c Many fixes related to EventDispatcher:
UE-13190 Cannot Delete Event Dispatcher inside of a child blueprint when the parent has an event dispatcher as well
Parameter "const FName&" was changed into "const FName" in some functions in BlueprintEditorUtils.
Fix for TRASHCLASS_ crash in UBlueprintEventNodeSpawner.
In ResolveSimpleMemberReference the GUID is primary data, the Name is secondary.

#codereview Mike.Beach

[CL 2525284 by Maciej Mroz in Main branch]
2015-04-24 20:30:36 -04:00
Michael Schoell
ee4793e6e9 Switch On String node will obey case insensitivity by default as the details view says it is set to.
#jira UE-14225 - 'Is Case Sensitive' option on the Switch on Sting node doesn't toggle correctly

[CL 2524709 by Michael Schoell in Main branch]
2015-04-24 14:26:51 -04:00
Michael Schoell
25550afda3 "Convert to impure Get" menu option for Variable Get nodes now listed as "Convert to Validated Get"
#jira UE-14385 - Rename "Convert to impure Get" menu option to something more explanatory

[CL 2524474 by Michael Schoell in Main branch]
2015-04-24 11:55:52 -04:00
Maciej Mroz
3745c3851f UE-14063 CRASH: If you create a MakeArray pin when dragging off an exec pin and compile
UE-14164 Crash dragging off Get Character Movement node

Better validation in MakeArray node.

[CL 2523336 by Maciej Mroz in Main branch]
2015-04-23 16:57:59 -04:00
Maciej Mroz
6ef830d587 UE-12558 'Directions are not Compatible' error on ForEachLoopWithBreak if split struct pin is disconnected from Enum type
The problem is related to pins default value for an enum. But it seems, it should be fixed in the Marco node.

#codereview Mike.Beach, Michael.Schoell

[CL 2521782 by Maciej Mroz in Main branch]
2015-04-22 17:04:42 -04:00
Mike Beach
d5e2e3495b [UE-12401] Fixing up the BP menu filtering to account for array functions that have params that get converted to wildcard pins.
[CL 2519616 by Mike Beach in Main branch]
2015-04-21 14:12:38 -04:00
Ben Zeigler
5f90c74af8 #UE4 Remove hacky fixup code from ComponentBoundEvent as the bad code did not ship in 4.7. Revert this changelist to do local fixups for broken component bound events
[CL 2519536 by Ben Zeigler in Main branch]
2015-04-21 13:25:35 -04:00
Ben Zeigler
210f5edba9 #UE4 Fix component bound events so they correctly bind to the class that owns the delegate signature. Also try to recover from events that were saved when DelegateOwnerClass was NULL
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2518081 by Ben.Zeigler on 2015/04/20 15:20:39.

[CL 2519532 by Ben Zeigler in Main branch]
2015-04-21 13:24:01 -04:00
Michael Schoell
b0e80f8353 Fixing some cases of finding a UFunction by name without the use of GET_MEMBER_NAME_CHECKED
[CL 2519445 by Michael Schoell in Main branch]
2015-04-21 12:24:34 -04:00
Mike Beach
ba992fc614 [UE-9412] Fixing up Blueprint Palette tooltips so the more match the nodes they spawn (specifically focused on AddComponent nodes).
[CL 2517978 by Mike Beach in Main branch]
2015-04-20 14:26:25 -04:00
Michael Schoell
abb8124662 Keywords metadata is now localized.
Blueprint node searching now leverages localized keyword metadata for searching, so searches can now be done in the current langauge and English to find the same nodes.

#jira UE-12049 - Using translated editor, Blueprint node search returns differ for English search terms compared to search terms in the current language

#codereview justin.sargent

[CL 2517785 by Michael Schoell in Main branch]
2015-04-20 12:25:37 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Dan Oconnor
8db0cbcc80 Fix for crash I found while deleting some functions. BlueprintNodeTemplateCache and SMyBlueprint::OnDeleteGraph
#codereview Mike.Beach

[CL 2516896 by Dan Oconnor in Main branch]
2015-04-18 20:32:50 -04:00
Michael Schoell
37a0ccaecb UK2Node_ComponentBoundEvent::DelegateOwnerClass is no longer transient and the data will not be lost after saving BPs with the node.
#jira UE-14008 - UK2Node_ComponentBoundEvent causes log spam due to incorrectly set up EventReference

[CL 2516475 by Michael Schoell in Main branch]
2015-04-17 17:04:06 -04:00
Ben Cosh
e328b9566a Minor change to limit levelscript blueprints to be consider from editor worlds only.
#Branch UE4
#Proj BlueprintGraph

[CL 2515570 by Ben Cosh in Main branch]
2015-04-17 04:47:41 -04:00
Michael Noland
fdc561164b Blueprints: Added another missing include
[CL 2515267 by Michael Noland in Main branch]
2015-04-16 20:44:01 -04:00