Commit Graph

377 Commits

Author SHA1 Message Date
Marc Audy
039f479ac9 Optimize FAudioDevice::FindActiveSound by eliminating large numbers of Weak Object Ptr comparisons
Privatize FActiveSound::AudioComponent. Use Get/SetAudioComponent instead.

[CL 2662901 by Marc Audy in Main branch]
2015-08-20 12:26:11 -04:00
Dan Oconnor
6f71821802 Improved verbage around pin removal/additions, also added details to the tooltip
[CL 2662063 by Dan Oconnor in Main branch]
2015-08-19 20:55:56 -04:00
Dan Oconnor
f44d605357 Further optimizations to blueprint context menu constrution. Avoiding copying strings, recalculation of categories.
[CL 2661618 by Dan Oconnor in Main branch]
2015-08-19 16:36:07 -04:00
Phillip Kavan
3c858b79aa [UE-12263] Add ability to mark BlueprintCallable functions as "DevelopmentOnly" - by default, these nodes will be compiled out of Blueprint class function graphs at cook/package time.
change summary:
- deprecated the 'UEdGraphNode::bIsNodeEnabled' flag & added fixup code for serialization (load)
- added support for pruning "disabled" nodes at compile time w/o breaking existing flow in the source graph.
- modified function call nodes to look for new "DevelopmentOnly" UFUNCTION metadata and disable when found.
- added UEdGraphNode::IsNodeEnabled(), Enable() and Disable() APIs. also added a new 'bUserSetEnabledState' flag.
- added the UEdGraphNode::IsDevelopmentMode() API; subclasses can override to provide additional functionality if necessary.
- added a new 'UCookerSettings::bCompileBlueprintsInDevelopmentMode' flag to control whether or not Blueprints are compiled in development mode at cook time (accessible in Project Settings->Cooker); defaults to OFF.
- (experimental) added a "Compile Options" section to the Blueprint graph node context menu to allow users to explicitly enable or disable nodes.
- (experimental) added a BPGC setting to allow users to optionally override the cooker default setting for the development/release compile switch (UE-12270, WiP).
- the experimental features above are gated by a new 'UBlueprintEditorSettings::bAllowExplicitImpureNodeDisabling flag' (accessible in Editor Settings->Blueprint Editor); defaults to OFF for now.

[CL 2661302 by Phillip Kavan in Main branch]
2015-08-19 14:13:40 -04:00
Andrew Rodham
14e355b015 Added alignment commands to blueprint graphs
Standard options are available:
 - Align top/middle/bottom/left/center/right
 - Distribute horizontally/vertically

[CL 2656025 by Andrew Rodham in Main branch]
2015-08-14 09:34:31 -04:00
Maciej Mroz
ce657da8ee #jira UE-13417 Editor crash when compiling blueprint that contains an implemented interface after removing return node
#codereview Michael.Schoell

[CL 2625595 by Maciej Mroz in Main branch]
2015-07-20 04:26:18 -04:00
Michael Noland
1c1ad02a66 Graph Editor: Exposed a way to remove a slot from a SNodePanel::SNode and added support for node bubbles rendering correctly when there is no top slot
Animation: Updated the observe bone node to not display the ...
#jira UE-18570
#codereview ben.cosh

[CL 2620998 by Michael Noland in Main branch]
2015-07-14 17:51:17 -04:00
Dan Oconnor
13c3458c7a [UE-16784] Various optimizations to graph action menu creation and searching/filtering
[CL 2617715 by Dan Oconnor in Main branch]
2015-07-13 00:58:07 -04:00
Simon Tovey
6f4c8c0f31 Fixed all pins on make/break material attributes nodes being invisible when used alongside bUseMaterialAttriubtes.
[CL 2617012 by Simon Tovey in Main branch]
2015-07-10 14:50:23 -04:00
Steve Robb
72dec33d8f ensureOnce is now ensure.
ensure is now ensureAlways.
Redundant ensureMsg removed and replaced with ensureMsgf.
'debug ensureAlways' command added.

#codereview robert.manuszewski
#platformnotify josh.adams

[CL 2616422 by Steve Robb in Main branch]
2015-07-10 05:31:32 -04:00
Maciej Mroz
cb87e70c54 Pins in Select node are dislayed as "ref". New Select node implementation enabled.
#codereview Nick.Whiting

[CL 2616411 by Maciej Mroz in Main branch]
2015-07-10 05:04:20 -04:00
Dan Oconnor
6ff1e0b906 [UE-16784] Simple bp context menu optimizations.
[CL 2615277 by Dan Oconnor in Main branch]
2015-07-09 12:35:29 -04:00
Simon Tovey
36661cf46c UE-11709 - Cannot hide CustomUV pins on Break/Make MaterialAttributes nodes like you can with MaterialResults node
Custom UV pins in the material graph are hidden when they are on the results node.
They cannot be hidden in material functions however.

[CL 2614986 by Simon Tovey in Main branch]
2015-07-09 09:34:15 -04:00
Michael Noland
e934c69761 Blueprints: Changed display of FRotator values to be XYZ and in that order (RPY) instead of PYR
#jira UE-17360

[CL 2614172 by Michael Noland in Main branch]
2015-07-08 17:06:15 -04:00
Steve Robb
7661666dcb Error when a module is both a dependency and dynamically loaded.
Fixes for lots of existing modules by removing all dynamically loaded duplicates (this is probably not the correct solution, but is the safest).

#codereview robert.manuszewski

[CL 2610845 by Steve Robb in Main branch]
2015-07-06 05:46:20 -04:00
Michael Schoell
2fcdff7801 Tweaked the tooltip for "Expand Nodes" menu option to better describe what the action will do.
#jira UE-16867 - Selecting 'Expand Node' from the right-click menu on a function or math expression node does not function correctly

[CL 2607662 by Michael Schoell in Main branch]
2015-07-01 12:36:33 -04:00
Benn Gallagher
26397476c1 Non-Linear blend support for blend lists and state transitions
[CL 2607400 by Benn Gallagher in Main branch]
2015-07-01 09:45:27 -04:00
Michael Noland
817c6018b5 Graph Editor: Allowed graph nodes a chance to create a custom SGraphNode visual representation without having to manually register a factory (override the new method CreateVisualWidget)
[CL 2606948 by Michael Noland in Main branch]
2015-06-30 22:16:02 -04:00
Michael Noland
4c3276c5b6 Graph Editing: Renamed UEdGraphNode::NodeWidget DEPRECATED_NodeWidget to indicate it should not be used in future code since the assumption that at most a single graph editor is viewing a UEdGraph is not valid
(existing uses have been updated to the new name but not refactored yet)

[CL 2606946 by Michael Noland in Main branch]
2015-06-30 22:14:13 -04:00
Michael Noland
c83debe5dd Blueprints: Moved KismetNodeInfoContext.h to be publically accessible outside of the GraphEditor module
[CL 2606944 by Michael Noland in Main branch]
2015-06-30 22:13:28 -04:00
Nick Atamas
8217adbbee Merging CL 2606013 UE4-Orion/... -> UE4/...
Delegate selector in "Create Event" node now reuses current window in order to work around scaling issues.

[CL 2606022 by Nick Atamas in Main branch]
2015-06-30 13:15:26 -04:00
Dan Oconnor
2f3678cf24 [UE-17366] Stability improvemnets to the SMyBlueprint widget that's instatiated by the diff/merge tools. Disabling various editing functionality
[CL 2599216 by Dan Oconnor in Main branch]
2015-06-24 14:03:33 -04:00
Maciej Mroz
3bff293a6a UE-17211 Clicking connection wires between blueprints nodes causes crash - more robust code
[CL 2595557 by Maciej Mroz in Main branch]
2015-06-22 11:42:43 -04:00
Jamie Dale
924cf7165d Fixed the BP palette tree being wrong.
It needed to override SetRowContent as that's what's called on it now.

[CL 2592188 by Jamie Dale in Main branch]
2015-06-18 13:12:11 -04:00
Maciej Mroz
246dc6fde8 Fixed crash (hard to reproduce), when Save Intermediate Build Products is used.
[CL 2591743 by Maciej Mroz in Main branch]
2015-06-18 06:49:05 -04:00