Commit Graph

188 Commits

Author SHA1 Message Date
Robert Manuszewski
76dc3881a7 Fixed FindField warnings afer FindField -> FindUField + FindFProperty refactor
#rb none

[CL 12191315 by Robert Manuszewski in Main branch]
2020-03-15 11:03:25 -04:00
robert manuszewski
b7568cc694 Fix for UE-90683: You can no longer delete conflicting variables
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.

#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12191300 by robert manuszewski in Main branch]
2020-03-15 10:33:45 -04:00
dan oconnor
98628be41e ExpandEnumAsExecs now works with bool parameters, added ExpandBoolAsExecs synonym
#rb Phllip.Kavan
#jira UE-89057


#ROBOMERGE-SOURCE: CL 11522401 via CL 11522407 via CL 11522423
#ROBOMERGE-BOT: (v654-11333218)

[CL 11525131 by dan oconnor in Main branch]
2020-02-18 17:21:46 -05:00
Dan Oconnor
faf8b4d21a Make ensure more precise
#jira UE-88029
#rb Phillip.Kavan
#rnx

[CL 11315270 by Dan Oconnor in Main branch]
2020-02-10 18:58:51 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
jeanmichel dignard
2ce7666d2d Copying //UE4/Dev-Core [at] 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 10708666 in //UE4/Main/...
#ROBOMERGE-BOT: TOOLS (Main -> Dev-Tools-Staging) (v626-10872990)

[CL 10898071 by jeanmichel dignard in Dev-Tools-Staging branch]
2020-01-07 15:54:23 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
dan oconnor
b0788c39cb Fix crash when connecting split pins for some nodes to constant pins
#rb Phillip.Kavan
#jira UE-85698
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 10804720 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v610-10636431)

[CL 10804739 by dan oconnor in Main branch]
2019-12-18 17:50:54 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
dan oconnor
452a4268c4 Fixed crash when compiling a blueprint after changing a Map variable's contained types when using split pins
#jira UE-84882
#rb Joe.Conley
[FYI] Michael.Noland
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10365905 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10365906 by dan oconnor in Main branch]
2019-11-21 20:42:47 -05:00
Jamie Dale
872aa869c3 Converted code to use FObjectEditorUtils::GetCategoryText rather than access the UObjectCategory meta-data directly
This keeps the implementation common and will allow it to be changed in the future

#rb none
#rnx

[CL 10075120 by Jamie Dale in Dev-Editor branch]
2019-11-07 15:39:36 -05:00
phillip kavan
2fc651135f Fix regression caused by an oversight in extending function call nodes from single to multiple dynamic output pin type support.
#rnx
#rb trivial
#jira UE-82419

#ROBOMERGE-SOURCE: CL 9887167 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v553-9872581)

[CL 9887177 by phillip kavan in Main branch]
2019-10-29 17:37:19 -04:00
Jamie Dale
72109bc002 Fixed localization conflicts
#rb none
#rnx

[CL 9480363 by Jamie Dale in Main branch]
2019-10-08 16:16:36 -04:00
Dan Oconnor
88db33e7c2 Prevent running new function visibility enforcement on old blueprints - allowing teams to fix the new errors at their leisure
#rb Phillip.Kavan
#jira UE-81044

[CL 9306558 by Dan Oconnor in Dev-Framework branch]
2019-09-30 16:03:30 -04:00
Dan Oconnor
44c3917fb4 Fix inconsistent nullptr check introduced in 9230757
#rb None
#rnx

[CL 9291423 by Dan Oconnor in Dev-Framework branch]
2019-09-29 20:10:26 -04:00
projectgheist
fe824ed97f PR #5248: UE-22843: Private and protected BP function restrictions (Contributed by projectgheist) - reworked by me
#jira UE-66161
#rb Phillip.Kavan

[CL 9230757 by Dan Oconnor in Dev-Framework branch]
2019-09-27 15:55:34 -04:00
Ben Hoffman
2375686f0e Fix for static analysis warning from logical ops and Linux cross-compile error in K2Node_CallFunction.cpp
#jira none
#rb none

[CL 7474299 by Ben Hoffman in Dev-Framework branch]
2019-07-22 09:38:33 -04:00
Ben Hoffman
3dba17babb Add multiple dynamic output paramater support. Users can now specify multiple dynamic outputs by adding "," between the property names
#rb Fred Kimberley
#jira UE-74409

[CL 7461628 by Ben Hoffman in Dev-Framework branch]
2019-07-19 14:59:03 -04:00
projectgheist
fc8fb91ed7 PR #5951: Double click on interface node call to go to implementation (Contributed by projectgheist)
Remove a CA_SUPPRESS to see if static analysis still catches it

#jira UE-76327
#RB Marc Audy

[CL 7063498 by Ben Hoffman in Dev-Framework branch]
2019-06-18 11:20:40 -04:00
Phillip Kavan
07478faa82 More fixes/improvements to Blueprint graph node deprecation UI.
Change summary:
- Added "(deprecated)" to the display bar UI at the top of user-defined Blueprint event and function graphs.
- Added FEdGraphNodeDeprecationResponse along with EEdGraphNodeDeprecationType and EEdGraphNodeDeprecationMessageType enums.
- Added UEdGraphNode::HasDeprecatedReference() to differentiate between IsDeprecated() (which now means the node itself is deprecated) vs. a reference to a deprecated class member (e.g. variable, function).
- Deprecated UEdGraphNode::GetDeprecationMessage() and UEdGraphNode::ShouldWarnOnDeprecation() APIs in favor of UEdGraphNode::GetDeprecationResponse() (new). Node subclasses should override this when they need to override the message type (EEdGraphNodeDeprecationMessageType) and/or the message text based on the type of deprecation that's being reported by the node (EEdGraphNodeDeprecationType).
- A default deprecation response is now constructed for both cases by UEdGraphNode.
- Added a case for deprecation "notes" to FGraphCompilerContext::ValidateNode(). These are currently used to visually identify deprecated function entry nodes and event nodes in the Blueprint class in which they are deprecated, as these represent the definitions of those functions and not actual usage or call site (which we continue to warn about).
- Modified various node subclasses in which it was necessary to convert over to using a GetDeprecationResponse() method override.

#rb Dan.OConnor
#jira UE-72938, UE-73322

[CL 6676710 by Phillip Kavan in Dev-Framework branch]
2019-05-30 12:18:07 -04:00
Phillip Kavan
150c8d6e60 Fix various consistency issues with the editor UI response to deprecated member usage in a Blueprint class.
Change summary:
- Added FBlueprintEditorUtils::GetDeprecatedMemberUsageNodeWarning() to format a consistent compiler warning message
- Modified Variable, CallFunction and Delegate binding nodes to use the shared compiler warning message for deprecation.
- Fixed an issue that caused the deprecation compiler warning message to appear twice on overridden event nodes.
- Retained backwards-compatibility on Variable nodes for native references that only include 'DeprecationMessage' metadata (these were previously considered by the editor to be deprecated).
- Modified FunctionEntry and Event nodes to display a deprecation compiler warning only in the override case. The warning will not appear on the original definition. This includes custom event nodes as well.
- Updated the warning message in UK2Node_CreateDelegate::IsValid() for the !UEdGraphSchema_K2::FunctionCanBeUsedInDelegate() case (which also fails if the function has been marked as deprecated).

#jira UE-72927, UE-74384
#rb Dan.OConnor

[CL 6543083 by Phillip Kavan in Dev-Framework branch]
2019-05-17 00:51:05 -04:00
Ben Zeigler
8c2817cae2 #jira UE-68586 Add ReturnDisplayName metadata to UFUNCTION, allowing overriding the pin name for the return value
Based on PR #5467 but changed the metadata name
#rb marc.audy

[CL 5562251 by Ben Zeigler in Dev-Framework branch]
2019-03-26 16:37:49 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Marc Audy
b04bcc03de Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4677883
#rb
#rnx

[CL 4678256 by Marc Audy in Dev-Framework branch]
2019-01-03 09:32:53 -05:00