Commit Graph

22 Commits

Author SHA1 Message Date
Ben Marsh
702190504e [INTEGRATE] Change 2414064 by bruce.nesbit@bnesbit_Releases on 2015/01/21 13:26:29
Added IsValid check to new focus on content code.

[CL 2419516 by Ben Marsh in Main branch]
2015-01-26 18:58:52 -05:00
Ben Marsh
3e9434d16d [INTEGRATE] Change 2413979 by bruce.nesbit@bnesbit_Releases on 2015/01/21 12:31:44
Added support to tutorials to allow focus on content browser asset.

[CL 2419511 by Ben Marsh in Main branch]
2015-01-26 18:58:00 -05:00
Thomas Sarkanen
1bca86ecf1 Fixed stalls in tutorials
API break: added a new pure virtual to IAssetEditorInstance - InvokeTab().

Tutorials were attempting to load a bogus asset for editing for each stage, causing stalls each time the user clicked Next.
Re-arranged code that attempted to open asset editor tabs so that it wasnt attempting ot open a bogus asset (used the correct member).
Order of tab manager preference is now Per-stage Blueprint asset editor->Per-'tutorial asset' editor->level editor.
Added new function to allow us to open tabs in asset editors. This avoids a dangerous up-cast to FAssetEditorToolkit to access its tab manager.

#codereview Bruce.Nesbit

[CL 2403225 by Thomas Sarkanen in Main branch]
2015-01-12 04:36:22 -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
bruce nesbit
3d564d83e5 Added Tab focus field for tutorials.
[CL 2334438 by bruce nesbit in Main branch]
2014-10-20 08:15:36 -04:00
Thomas Sarkanen
d9ba2d3606 Tutorial content 'Next' button is now green, has text and is customizable
Rearranged layout/padding a little to compensate for larger apparent button size.
Kept larger button hitbox, which required some custom border handling for the button.

TTP# 348109 - EDITOR: TUTORIALS: Add green buttons to tutorials

[CL 2314257 by Thomas Sarkanen in Main branch]
2014-09-30 11:37:26 -04:00
Thomas Sarkanen
dfc9addd05 Tearing off a highlighted widget no longer results in duplicate content being displayed
Tutorials browser now always appears on the mainframe. This avoids the browser appearing on small torn-off windows if content is torn off while a tutorial is in progress.
Also fixed crash when opening a browser from a widget that used to be docked to anotehr tab (weak window pointer was invalid at this point).

TTP# 347014 - EDITOR: TUTORIAL: If a tab is undocked while being referenced in the "welcome to the unreal editor" tutorial, there will be two instances of the tutorial text

[CL 2305366 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:52 -04:00
Thomas Sarkanen
86292b26f8 Fixed 'fallback' overlays appearing in multiple windows
Dont present the 'fallback' overlays unless in the primary ('navigation') window.

[CL 2302563 by Thomas Sarkanen in Main branch]
2014-09-18 13:30:40 -04:00
Thomas Sarkanen
9aeed01b0f Fix perf regression introduced by tutorials
The tutorial overlay was traversing the widget hierarchy even if it had nothing to do.

[CL 2302426 by Thomas Sarkanen in Main branch]
2014-09-18 09:27:57 -04:00
Thomas Sarkanen
304d700746 Added/edited extra tutorial contexts & added analytics
Tutorial contexts for IOS/Android/Whatever are now hooked up (console setup ones are still missing).

Analytics added for tutorial usage in various places.

Added ability to reset tutorial state with -ResetTutorials command-line flag.

Cleaned up some unused code (still a lot more to come here!).

[CL 2302314 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:29 -04:00
Thomas Sarkanen
dd996369d7 Reworking navigation into content
Disabled floating navigation widget (but have not removed it yet).
Built navigation controls into the content widget.

[CL 2299461 by Thomas Sarkanen in Main branch]
2014-09-16 10:26:36 -04:00
Matt Kuhlenschmidt
fb76f6393e Fix constant FName initialization in places that execute often
[CL 2294154 by Matt Kuhlenschmidt in Main branch]
2014-09-11 16:48:17 -04:00
bruce nesbit
d27db9cd36 Added metadata for materialgraph nodes
[CL 2293642 by bruce nesbit in Main branch]
2014-09-11 08:13:08 -04:00
bruce nesbit
d60a5de509 Converted widget .Tag instances for tutorials to use MetaData
[CL 2286138 by bruce nesbit in Main branch]
2014-09-05 07:39:52 -04:00
bruce nesbit
5057e73315 Created a metadata type that details blueprint information for the tutorial widgets.
Revised the variable node and base node to populate and insert such a tag.

[CL 2282878 by bruce nesbit in Main branch]
2014-09-03 08:26:29 -04:00
Dan Oconnor
5d90c6bb49 non unity fix
[CL 2276139 by Dan Oconnor in Main branch]
2014-08-28 09:58:30 -04:00
bruce nesbit
a923c042f5 Revised several graphnode tags for tutorial widgets.
Added tutorial widget support for autofocus (for BP nodes

[CL 2276100 by bruce nesbit in Main branch]
2014-08-28 09:38:24 -04:00
Thomas Sarkanen
27b1193ad8 Added widget metadata
Expanded tagging system to more general metadata. Supplied a base class with simple RTTI as well as a simple tagging metadata that will be used in place of the FName tag. Once all tags are converted the Tag field will be deprecated.

reviewed by Nick.Atamas

[CL 2275842 by Thomas Sarkanen in Main branch]
2014-08-28 04:32:19 -04:00
Nick Atamas
057f48f25b Slate: Removed legacy operator() from FArrangedWidgets in favor of operator[]. Fixed uses cases.
[CL 2270701 by Nick Atamas in Main branch]
2014-08-25 12:51:49 -04:00
Thomas Sarkanen
b7361dffe8 Tutorials 2.0: Adding new tutorial wizard and rich text support
Tutorials can now be created using the right-click asset menu->Misc->Tutorial Blueprint.
Importer allows you to pick a UDN file, which will then be converted into a new Tutorial Asset.

Adapted UDN parser to also output rich text format for the purposes of this importer. This may be deprecated at some point soon, once existing tutorials have been imported.

Rich text editor added to tutorial details customization. Features; font, color, size & hyperlinks for now.
Rich text display also added to content widgets.

Added option to optionally show the widget highlight if only the bubble widget is required.

#codereview Bruce.Nesbit

[CL 2256027 by Thomas Sarkanen in Main branch]
2014-08-14 07:02:50 -04:00
bruce nesbit
6b7fae845b Several tutorial tweaks:
Added some tags to several BP nodes (for use by tutorial)
Added provision to open relevant editor for highlighted widget
Added support for highlighting blueprints nodes

#codereview Thomas.Sarkanen

[CL 2254285 by bruce nesbit in Main branch]
2014-08-13 03:41:45 -04:00
Thomas Sarkanen
a27980dcf0 Tutorials 2.0 - Initial version
NOTE: Old tutorials not deprecated (yet), but widget highlights in old tutorials will stop working with this change!

Added new Blueprintable UEditorTutorial object.
Added suite of widgets and details customizations to display tutorials.
New system is available on command line switch -NewTutorials.

Slate changes:
Tag names are now stored in SWidgets, rather than simply being discarded.
Removed STutorialWrapper in favour of using Tags.
Added Tags to more multibox widgets, so virtually all can now be picked.
Added SWindow::HasOverlay so we dont attempt to add overlays to widows that cannot have them.

[CL 2244216 by Thomas Sarkanen in Main branch]
2014-08-05 09:04:35 -04:00