Commit Graph

354 Commits

Author SHA1 Message Date
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
Jamie Dale
ea7287c232 Fixed the BP context menu having double expander arrows in its tree view
[CL 2590801 by Jamie Dale in Main branch]
2015-06-17 16:02:37 -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
Benn Gallagher
18b95631d6 Anim transition getter refactor
[CL 2584044 by Benn Gallagher in Main branch]
2015-06-11 08:47:18 -04:00
Matt Kuhlenschmidt
6cda1e8193 Added error message if a material expression parameter name is too long.
Added the ability to display an error popup on the node if text verification fails.  The code existed for this but was non-functional

[CL 2583007 by Matt Kuhlenschmidt in Main branch]
2015-06-10 13:53:25 -04:00
Michael Schoell
6a5d80e78f On Blueprint enum pins, tooltips will appear when hovering over items in the drop down menu.
Fixed localization display issue for enums in the UI.

#jira UE-12504 - Node enum drop down boxes should utilize tooltips for each value

[CL 2580309 by Michael Schoell in Main branch]
2015-06-08 15:29:57 -04:00
Chris Wood
8a112d6140 PushMenu() now respects QueryPopupMethod(). All menus now support reusing windows.
UE-14641 - Fix PushMenu() to use QueryPopupMethod()

Pretty big refactor
Adds IMenu as way to identify menus. Replaces referring to menus as SWindows.
Lots of uses of PushMenu() fixed up to match new API

#codereview Nick.Atamas

[CL 2579277 by Chris Wood in Main branch]
2015-06-05 20:19:33 -04:00
Michael Schoell
f32318d641 Keyboard navigation of the Blueprint context menu fixed.
Improved usability when nothing is filtered.

#jira UE-16243 - Keyboard navigation of blueprint context menu is broken

[CL 2576975 by Michael Schoell in Main branch]
2015-06-04 10:34:10 -04:00
Michael Schoell
d3c4f18bcd Can right click on any node to search for references of it. Does initial search only in current Blueprint.
Localization fixes for Find-in-Blueprints so it will again search the current and native language.

CallFunction and CustomEvents now store their non-friendly "native" names. These will not actually appear in search results, but will be compared while searching to determine if the node matches the results.

Gathering Blueprint search data will now force friendly names to true while it gathers so gathered data does not differ based on the setting.

#jira UE-15901 - Right click a custom event to get a list of all blueprints that are calling the custom event

[CL 2572814 by Michael Schoell in Main branch]
2015-06-01 14:36:32 -04:00
Martin Mittring
04fffa685e fixed clang warnings
[CL 2570957 by Martin Mittring in Main branch]
2015-05-29 15:18:47 -04:00
Richard TalbotWatkin
5d6675e2e2 Fixed Material Editor so that comment bubbles' toggle states are preserved when exiting the editor.
#jira UE-16029 - material editor node comment boxes go away every time you re-open material
#reviewedby Ben.Cosh, Matthew.Griffin

[CL 2570441 by Richard TalbotWatkin in Main branch]
2015-05-29 09:56:42 -04:00
Maciej Mroz
dd3c13654b UE-14387 Support for AssetPtr references in Blueprints
Early version:
- New BP types: Asset and AssetClass
- Now implicit conversion (in Blueprint) from Asset to Object
- Explicit conversion node: K2Node_ConvertAsset
- EX_AssetConst script instruction to store StringAssetReference in bytecode.

#codereview Nick.Whiting, Mike.Beach

[CL 2553506 by Maciej Mroz in Main branch]
2015-05-15 16:44:55 -04:00
Marc Audy
51605fb095 Protect against crashes when querying information from a graph pin that has been reconstructed (and thus is in the transient package)
[CL 2550661 by Marc Audy in Main branch]
2015-05-14 09:52:54 -04:00
Michael Schoell
c6f93e2b5c Selecting all nodes in a graph using keybindings will no longer assert due to null nodes being present in the graph list.
Added in some protection against nullptr to SGraphEditorImpl::SelectAllNodes

#jira UE-15379 - Crash copying all nodes in level blueprint of Audio.umap in ContentExamples

[CL 2549397 by Michael Schoell in Main branch]
2015-05-13 15:31:46 -04:00
Andrew Rodham
2d77514016 Fixed not being able to rename some graph node types on initial creation
This addresses UE-14873.

[CL 2547706 by Andrew Rodham in Main branch]
2015-05-12 15:39:48 -04:00
Ben Cosh
333979f59b This modfiies the InlineEditableTextBlocks to have a multiline option and enables this on comment nodes
#UE-9118 - Graph comments (Blueprints, Materials, Sound cues, etc...) should support multiline text editing
#UE-12964 - Comment box hits (Title bar) are offset
#Branch UE4
#Proj GraphEditor, Kismet, Slate

[CL 2546952 by Ben Cosh in Main branch]
2015-05-12 06:09:01 -04:00
Michael Noland
1105b5645c Graph Editor: Allowed double-clicking to interact with splines when they overlap the body of a comment node (double-clicking on the header still activates comment editing) [UE-15209]
[CL 2543793 by Michael Noland in Main branch]
2015-05-08 17:44:46 -04:00
Michael Schoell
db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00
Michael Schoell
d798e477c8 Blueprints and Behavior Trees will no longer have their graphs display as disabled/read-only when debugging (in PIE).
Fallout from CL# 2535806

#jira UE-15170 - When in PIE, Blueprints display as disabled making them difficult to debug.

[CL 2541246 by Michael Schoell in Main branch]
2015-05-07 12:39:59 -04:00
Ben Cosh
ac5d03c83b This adds a missed safety check in the comment bubbles before trying to set the text widget content.
#UE-15081 - Editor crashes without crash report or warning when entering a node comment on a blueprint node
#Branch UE4
#Proj GraphEditor

[CL 2540744 by Ben Cosh in Main branch]
2015-05-07 05:04:50 -04:00
Maciej Mroz
94197986df GetBaseStructure was replaced with TBaseStructure<>::Get()
Related to: https://udn.unrealengine.com/questions/244398/blueprint-struct-with-vector-member-crashes-editor.html

#codereview Robert.Manuszewski, Jaroslaw.Palczynski, Nick.Whiting

[CL 2538645 by Maciej Mroz in Main branch]
2015-05-05 23:07:23 -04:00
Michael Schoell
2043b596a8 Various graphs that looked disabled, will now correctly display as Read Only but can be panned and nodes are selectable.
Reworked how graphs were disabled to stop all out disabling of the SGraphPanel while still maintaining the visual display of being read-only.

Removed concept of TitleBarEnabledOnly from the graph editor and merged it with the IsEditable functionality.

#jira UE-10289  - Changing Blueprint Interface layout can shift nodes out of view

[CL 2535806 by Michael Schoell in Main branch]
2015-05-04 11:08:14 -04:00
Dan Oconnor
7877e203fb [UE-14700] Improving check message, CNR
[CL 2534617 by Dan Oconnor in Main branch]
2015-05-01 19:31:19 -04:00