Marc Audy
e7d1784593
Buildwatcher - Fix shadow variables
...
#codereview Dan.Oconnor
[CL 2593375 by Marc Audy in Main branch]
2015-06-19 09:31:08 -04:00
Dan Oconnor
96c7289b88
[UEBP-59] Optimize Blueprint loading done subsequently to initializing the blueprint action database, by decreasing the number of TObjectIterators we use to build the database.
...
[CL 2592248 by Dan Oconnor in Main branch]
2015-06-18 13:40:47 -04:00
Phillip Kavan
6e67897d5e
[UE-15480] The output pin subtype for a GetClass function call node is now linked to the input pin's subtype.
...
change summary:
- modified FDynamicOutputHelper::GetPinClass() to include object reference pin types
- modified FDynamicOutputHelper::IsTypePickerPin() to include the PC_Object category
- modified the UGameplayStatics::GetObjectClass() UFUNCTION declaration to include 'DeterminesOutputType' metadata
#codereview Mike.Beach
[CL 2592119 by Phillip Kavan in Main branch]
2015-06-18 12:10:18 -04:00
Maciej Mroz
5ec4b83d35
For the simplest cases MathExpresion will be expanded the old way. The RPE optimization cannot handle the exoression without any function call.
...
Cases:
- literal - "3.14"
- variable access - "MyVar"
- new local variavle - "a"
UE-17139 Math Expressions fail to compile when output pin connected
[CL 2591759 by Maciej Mroz in Main branch]
2015-06-18 06:55:28 -04:00
Dan Oconnor
ba6a281f08
[UE-17186] No longer destroying pins on reconstruction when the types dont match on load, instead relying on compile errors/warnings. This bug was caused by code changes to a node that made the pin type more restrictive. In this case we definitely don't want to destroy connections, and we could not find a case where destroying connections on load was advisable.
...
[CL 2591219 by Dan Oconnor in Main branch]
2015-06-17 19:51:38 -04:00
Mike Beach
06538d3d72
[UE-16444][UE-16915] Guarding against the use of editor-only properties in Blueprints (still allowed for things like Blutilities).
...
[CL 2591003 by Mike Beach in Main branch]
2015-06-17 17:37:33 -04:00
Maciej Mroz
84560eff1a
UK2Node_FunctionEntry::GetTooltipText was added.
...
https://udn.unrealengine.com/questions/249835/k2node-functionentry-result-tooltips.html
[CL 2590121 by Maciej Mroz in Main branch]
2015-06-17 10:48:10 -04:00
Maciej Mroz
61a6877015
Optimized math Expression can internally use GetVariable node. UE-17139
...
[CL 2589974 by Maciej Mroz in Main branch]
2015-06-17 09:29:29 -04:00
Dan Oconnor
68bdb82738
Back out revision 47 from //depot/UE4/Engine/Source/Editor/BlueprintGraph/Private/K2Node_MacroInstance.cpp
...
This causes infinite recursion in AllCircleTests.umap in QAGame
[CL 2589715 by Dan Oconnor in Main branch]
2015-06-17 00:04:48 -04:00
Mike Beach
8164028b41
[UE-17011] If a function doesn't have any extra keywords, make sure we still include the compact title at the very least.
...
#codereview Michael.Schoell
[CL 2588760 by Mike Beach in Main branch]
2015-06-16 11:53:17 -04:00
Michael Schoell
a5e29efb5a
Pin tooltips on Call Function nodes in Blueprints will no longer grow with each compile or change to the Blueprint.
...
#jira UE-16997 - Tooltip for boolean checkbox on blueprint node grows with every click
[CL 2588700 by Michael Schoell in Main branch]
2015-06-16 11:25:01 -04:00
Maciej Mroz
15e44a1b6e
ME Optimization:
...
- FBPTerminal::InlineGeneratedParameter added - the result of the function is directly used as input parameter, it's not stroed in a lical variable
- FKismetFunctionContext::InlineGeneratedParameter
- MathExpressionHandler - compile (to out intermediate representation) a subgraph using "reverse polish notation" approach
- Math Expression node is not longer expanded
- VMBackend supports InlineGeneratedParameter and InlineGeneratedParameter
#codereview Nick.Whiting, Mike.Beach
[CL 2587365 by Maciej Mroz in Main branch]
2015-06-15 10:54:30 -04:00
Maciej Mroz
435b64dfe7
Fixed a hard to reproduce Blueprint Editor crash
...
[CL 2586846 by Maciej Mroz in Main branch]
2015-06-13 09:54:57 -04:00
Dan Oconnor
56fc9c7105
[UE-16972] Could find no user action that aws improved (or even effected by) this logic that disconnects pins. This case fails because one pin is of type self and one is a normal object reference, but this function did not provide a class context. It's better to just not run the logic at all, rather than destroy the pin.
...
#codereview Nick.Whiting
[CL 2586806 by Dan Oconnor in Main branch]
2015-06-12 22:42:10 -04:00
Mike Beach
1fa11b9410
[UE-16996] Properly removing pin watches for params that are being deleted from a custom event node.
...
[CL 2586299 by Mike Beach in Main branch]
2015-06-12 16:00:56 -04:00
Michael Schoell
c55cbf9af7
Can promote pins to local variables in Blueprint function graphs (or their child graphs).
...
Option only appears when available, will pull the default value over.
#jira UE-6273 - BLUEPRINTS: Add "promote to local var" context menu option
[CL 2584770 by Michael Schoell in Main branch]
2015-06-11 15:39:07 -04:00
Michael Schoell
a2dd30496a
Fixed GLEO when a Blueprint references a macro that references a function library that is not referenced by the original Blueprint.
...
[CL 2584690 by Michael Schoell in Main branch]
2015-06-11 14:48:45 -04:00
sebastian kowalczyk
c46f070ab2
Fixed non unity build.
...
[CL 2584110 by sebastian kowalczyk in Main branch]
2015-06-11 09:50:36 -04:00
Michael Schoell
0fc7d3151f
Changing the Class of a "Spawn Actor from Class" node will no longer disconnect the Result pin's links if they are still valid.
...
#jira UE-15285 - Changing class on Spawn Actor from Class node breaks connections
[CL 2583256 by Michael Schoell in Main branch]
2015-06-10 16:12:17 -04:00
Michael Schoell
24e8feab5f
Math Expression nodes will no longer always appear as changed when doing a diff on a Blueprint.
...
The Math Expression graph will be completely missing from the diff display, it is regenerated each time and the important detail is the math expression the user inputs. The node's math expression will show up if there are differences between two Blueprints.
#jira UE-9785 - Math expression nodes always appear in BP Diff
[CL 2582830 by Michael Schoell in Main branch]
2015-06-10 11:52:53 -04:00
Michael Schoell
a565081561
Re-implementing a fixup for ComponentBoundEvents that were saved without a DelegateOwnerClass.
...
#jira UE-16304 - TappyChicken loaded invalid component bound event in node warnings
[CL 2582680 by Michael Schoell in Main branch]
2015-06-10 10:12:27 -04:00
Maciej Mroz
ba111a9270
GenericCreateObject node can be called in Construction Script
...
UGameplayStatics::SpawnObject checks ClassWithin
#codereview Nick.Whiting, Marc.Audy
[CL 2582478 by Maciej Mroz in Main branch]
2015-06-10 07:03:55 -04:00
Mike Beach
6f87cbe79b
Game modules can now extend Blueprint menu filtering, and add in their own menu rejection tests.
...
[CL 2581938 by Mike Beach in Main branch]
2015-06-09 17:44:15 -04:00
Michael Schoell
af53b28453
Adding pins to a MakeArray node will give the new pin a default values.
...
#jira UE-16241 - Adding a pin to a MakeArray does not set a default value on the input
[CL 2581682 by Michael Schoell in Main branch]
2015-06-09 15:39:31 -04:00
Michael Schoell
22e9da4f2f
Selecting a pin type for a Select node will not fail the first time.
...
#jira UE-16646 - Unable to change pin type on first attempt
[CL 2581550 by Michael Schoell in Main branch]
2015-06-09 14:13:24 -04:00