Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
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
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
ef74111bf9 Editor should not stall when pasting large amounts of text into the Blueprint node context menu filter.
#jira UE-11436 - Hang after you paste node data into Blueprint right click menu

[CL 2527289 by Michael Schoell in Main branch]
2015-04-27 15:09:27 -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
Michael Schoell
11bbd9aa06 Using the up and down arrow keys for selection in the MyBlueprint window will correctly select them.
Refactored logic for what selection type is allowed in a SGraphActionMenu to the widgets that react to the selection.

#jira UE-11644 - Selected BP Variables do not refresh details properly

[CL 2493909 by Michael Schoell in Main branch]
2015-03-27 11:43:37 -04:00
Marc Audy
8a022fb2e0 Fix shadowed variables
[CL 2468979 by Marc Audy in Main branch]
2015-03-04 13:46:55 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Matthew Griffin
ac3e0f0418 [INTEGRATE] Change 2445973 by Michael.Noland@mnoland-T2784-Reference on 2015/02/14 00:31:56
Blueprints: Fix a number of selection issues across a BP compile [UE-9862]
	- Fix a bug where compiling with a custom event or input event selected in the My Blueprints graph would deselect it
	- Fix a bug where "Multiple values" would be shown after recompiling with a variable entry is selected in My Blueprint
	- Fix a bug where "Multiple values" would be shown after recompiling with a variable get/set selected in a graph
	- Fix a bug where the standalone defaults editor wouldn't be updated properly when something else was selected during compilation
	- Fixed that SMyBlueprint::OnActionSelected could clear the details panel without taking ownership when InAction was invalid (now always takes ownership first - long term we need to combine the two so that selecting something includes taking ownership)
	#lockdown nick.whiting
	#codereview nick.darnell

[CL 2449924 by Matthew Griffin in Main branch]
2015-02-18 06:37:13 -05:00
Matthew Griffin
43a6d6035b [INTEGRATE] Change 2440497 by Nick.Darnell@Nick.Darnell_Dev on 2015/02/10 17:25:29
UE-9549 - The SCSEditor is no longer portrayed in the API as if it's guaranteed to exist.
	UE-9368 - We're now broadcasting foregrounding tab changes from the global tab manager.  These changes are now watched by the workflow tab manager to then relay that information to anyone who cares.  The blueprint editor now uses this information to have graph tabs properly clear the active graph ptr when a graph tab is no longer in the foreground.

[CL 2448562 by Matthew Griffin in Main branch]
2015-02-17 08:48:35 -05:00
Matthew Griffin
f2aabd2ccd [INTEGRATE] Change 2439412 by Michael.Noland@mnoland-T2784-Reference on 2015/02/10 01:33:06
Blueprints: Add automatic expansion of parent nodes when programmatically selecting an item in the My Blueprint tree [UE-9169]

[CL 2447163 by Matthew Griffin in Main branch]
2015-02-16 10:38:14 -05:00
Matthew Griffin
049d8e1e3f [INTEGRATE] Change 2431887 by Nick.Darnell@Nick.Darnell_Dev on 2015/02/04 12:02:10
BP - Fixing several selection issues.  Selecting the CDO now highlights the button or the root actor node no matter which you you select.  Creating new variables now refreshes the editors in the right order so that you can rename the variable after creating it.

[CL 2438221 by Matthew Griffin in Main branch]
2015-02-09 11:38:25 -05:00
Matthew Griffin
239892c5e3 [INTEGRATE] Change 2430954 by Dan.Oconnor@epic_3298 on 2015/02/03 20:36:44
Standard Macros lists 'ForEach' in it's description, scoring algorithm bug fixed (no longer multiplying succeeding scores, which allowed low scoring entries with lots of text to override good entries with succinct descriptoins), added keywords to UActorComponent::GetOwner. Tested context menu with the following keywords: if, actor, position, transform, rotation, for, foreach, parent, owner. Results for transform and rotation unchanged, results for position changed but not notably improved, all other results improved.
	#codereview Mike.Beach

[CL 2438022 by Matthew Griffin in Main branch]
2015-02-09 10:23:53 -05:00
Mieszko Zielinski
538ca45081 Fixed a (presumably) copy-paste derived bug in SGraphActionMenu::SelectItemByName resulting in crashes on adding keys to Blackboard assets #UE4
- addresses UE-8529
- not a broken-build fix, but a critical 4.7 fix (and super safe!)

#codereview Michael.Schoell
#lockdown Zachary.EdgertonJones

[CL 2423536 by Mieszko Zielinski in Main branch]
2015-01-29 04:21:37 -05:00
Ben Marsh
f22e4eb376 [INTEGRATE] Change 2418803 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/26 12:50:53
BP - Fixing the sizing on the section widget so that it is auto instead of fill sized.

[CL 2419746 by Ben Marsh in Main branch]
2015-01-26 20:23:26 -05:00
Ben Marsh
60952a2dd6 [INTEGRATE] Change 2412828 by Ben.Marsh@ben.marsh_a3072_3647 on 2015/01/20 16:32:19
Another fix for Mac build failures.

	#codereview Nick.Darnell

[CL 2419471 by Ben Marsh in Main branch]
2015-01-26 18:51:30 -05:00
Ben Marsh
eff15a2bda [INTEGRATE] Change 2412492 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/20 13:24:30
Missing qualifiers for IsHovered and IsItemExpanded

	#codereview Nick.Darnell

[CL 2419446 by Ben Marsh in Main branch]
2015-01-26 18:38:35 -05:00
Ben Marsh
619b2dacdf [INTEGRATE] Change 2412451 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/20 13:06:34
Build - Possible build fix for clang on mac.

[CL 2419444 by Ben Marsh in Main branch]
2015-01-26 18:38:07 -05:00
Ben Marsh
a32f9a8dff [INTEGRATE] Change 2412449 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/20 13:05:29
Build - Adding a header fix the mac build.

[CL 2419439 by Ben Marsh in Main branch]
2015-01-26 18:37:15 -05:00
Ben Marsh
4d5c52456e [INTEGRATE] Change 2411381 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/19 16:39:31
Editor - Adding the unified blueprint editor view.  Combines all the modes into a single blueprint editor.  Still requires being enabled through the experimental option in the editor.

[CL 2419336 by Ben Marsh in Main branch]
2015-01-26 17:51:00 -05:00
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00