Commit Graph

37 Commits

Author SHA1 Message Date
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
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Maciej Mroz
927196f433 ttp346705 CRITICAL: Regression: BP: Interacting with the details panel within a blueprint interface collapses the details panel and de..
#codereview Mike.Beach, Michael.Schoell

[CL 2301556 by Maciej Mroz in Main branch]
2014-09-17 16:32:28 -04:00
James Golding
28afccd446 Change component picker combo to use more standard FEditorClassUtils for rich tooltips (files in Engine\\Documentation\\Source\\Shared\\Types\\)
Add doc w. link for Audio, SkelMesh and StaticMesh components to test
Polish component class picker combo (styling, padding, separators etc)
#codereview lauren.ridge, nick.whiting

[CL 2297977 by James Golding in Main branch]
2014-09-15 08:00:10 -04:00
Mike Beach
b5d7aaa58e Optimizing how graph menus are sorted/built.
[CL 2286860 by Mike Beach in Main branch]
2014-09-05 17:51:16 -04:00