Commit Graph

68 Commits

Author SHA1 Message Date
Jamie Dale
8d23fe9db1 Added support for navigating collections using the path breadcumbs in the Content Browser
UE-17646 - Collections don't display bread crumb path when nested

[CL 2607575 by Jamie Dale in Main branch]
2015-07-01 11:36:19 -04:00
Jamie Dale
031f4aa33a Fixed the "Show Collections" option appearing multiple times if multiple Content Browsers were open
UE-17880 - Show Collections shows up twice when box is checked and multiple content browsers

This used to be added via an extender, however the extender was bound once each time a Content Browser was opened, meaning it was possible to have the entry added multiple times if multiple Content Browsers were open.

This menu item is now handled by the SAssetView (the same as the other view options), and is also now disabled on dialogs where it doesn't make sense to change the "Show Collections" settings (eg, when using the load or save picker dialogs, as they don't contain a collections view).

[CL 2605762 by Jamie Dale in Main branch]
2015-06-30 11:12:22 -04:00
Jamie Dale
b36a494aeb Added support for nested collections
UETOOL-332 - Collections 2.0
UETOOL-369 - Want nested collections with collapsing

We now have version 2 collections which maintain a persistent GUID for each collection. Existing collections will be lazily updated to this version when they need to be re-saved.

This GUID is used by child collections to keep track their parents, and the collections view (as well as the quick asset management) now show a tree of collections. Collections in the main collection view tree can be re-parented via drag and drop.

Performing Content Browser searches against a given collection will also test to see if an object exists in child collections, and the asset view will now show you folder entries for child collections when viewing a parent (if folders are enabled in your Content Browser view settings).

[CL 2593321 by Jamie Dale in Main branch]
2015-06-19 07:33:02 -04:00
Jamie Dale
b2413588f6 Changing the Content Browser path via the breadcrumb now notifies you of the change
UE-13121 - Content Browser - navigiating via breadcrumb trail does not fire OnPathSelected delegate.

[CL 2588679 by Jamie Dale in Main branch]
2015-06-16 11:11:45 -04:00
Jamie Dale
e2691248e2 Fixed some cases where the text filter would fail to update
The text filter was stripping whitespace and storing the stripped version. This meant that a search term containing only whitespace could never be cleared again, as the filter never notified of a change in text.

The other issue was that some code was performing a pre-test to see if the text had changed, however this code was doing case-insensitive comparisons, which no longer suffice as the operators are case-sensitive.

[CL 2587373 by Jamie Dale in Main branch]
2015-06-15 11:05:19 -04:00
Jamie Dale
c360522488 Added advanced search query syntax to the Content Browser
UETOOL-332 - Collections 2.0
UETOOL-366 - Ability to search and filter assets that are only in specific collections

This allows you to perform complex queries against any of the meta-data from the asset registry (using standard comparison operators), as well as being able to test other standard keys, such as the collections that contain a given asset, its name, path, or class.

The syntax supports sub-expression grouping, and also partial (unquoted), exact (quoted) starts with (s...), or ends with (...s) string matching, as well as standard logic operators (OR, AND, NOT).

ReviewedBy Andrew.Rodham

[CL 2578624 by Jamie Dale in Main branch]
2015-06-05 13:14:36 -04:00
Jamie Dale
c031b17938 Added utility functions to get the FCollectionManagerModule handle
UETOOL-332 - Collections 2.0

This avoids the need to repeat the module name throughout the code (and potentially performing an FName look up each time).

[CL 2572436 by Jamie Dale in Main branch]
2015-06-01 10:04:42 -04:00
Jamie Dale
5c2e006c92 Added quick asset management for collections in the editor
UETOOL-332 - Collections 2.0
UETOOL-370 - Ability to assign many collections to a single asset very quickly

The collections view now provides check boxes next to each collection. These can be used to quickly add or remove a large selection of assets to or from a collection.

This feature is also available in the Content Browser via the asset context menu. The "Collections" section now contains a sub-menu which lists the available collections, and allows you to quickly add or remove the current selection to or from a collection.

[CL 2570749 by Jamie Dale in Main branch]
2015-05-29 13:15:40 -04:00
bruce nesbit
15873e22b5 Added suport for classes to register with super search for handling/acting on searches
Hooked in feature packs to show in super search using tags in the FP manifests
Added some keywords to manifests for super search

[CL 2526727 by bruce nesbit in Main branch]
2015-04-27 05:56:20 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Michael Noland
1e2233d7d6 Content Browser: Changed the "content browser source was changed by the sources view" message to only be displayed in VeryVerbose mode
#codereview bob.tellez

[CL 2514461 by Michael Noland in Main branch]
2015-04-16 12:29:12 -04:00
Michael Noland
ace4cfdc44 Content Browser: Added F prefix to FAssetFilterType and FAssetFilterCollectionType, and removed a redundant declaration
[CL 2508793 by Michael Noland in Main branch]
2015-04-10 15:39:07 -04:00
Richard TalbotWatkin
2d8a4633c5 Renaming an asset no longer disables the filters in the content browser.
#jira UE-11567 - In Use By Level Filter disabled when renaming asset

[CL 2497157 by Richard TalbotWatkin in Main branch]
2015-03-31 09:52:38 -04:00
Matt Kuhlenschmidt
5fbd875342 Safety fix for unreproducible crash opening content browser view options menu
[CL 2473712 by Matt Kuhlenschmidt in Main branch]
2015-03-10 09:53:58 -04:00
Richard TalbotWatkin
e6a6704389 "Show Collections" in the Content Browser now remembers its state.
#jira UE-10039 - The state of "Show Collections" in the Content Browser is not saved with the Editor layout
#reviewedby Matt.Kuhlenschmidt

[CL 2472013 by Richard TalbotWatkin in Main branch]
2015-03-08 15:24:50 -04: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
Jamie Dale
7acb1b77bd Fixed some new code that was providing text to Slate as FString rather than FText
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

[CL 2455943 by Jamie Dale in Main branch]
2015-02-23 06:32:47 -05:00
Matthew Griffin
cc9465acf6 [INTEGRATE] Change 2444699 by Nick.Darnell@Nick.Darnell_Dev on 2015/02/13 09:53:29
UE-9723 - Reworking the buttons on the content browser to be cleaner and one of them green.

	#lockdown Matt.Kuhlenschmidt

[CL 2449856 by Matthew Griffin in Main branch]
2015-02-18 05:30:08 -05:00
Matthew Griffin
dc8bc1d76f [INTEGRATE] Change 2440213 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/10 14:49:45
Tweaked the starting size of thumbnails in the content browser

[CL 2448538 by Matthew Griffin in Main branch]
2015-02-17 08:33:31 -05:00
Matthew Griffin
a55430aff0 [INTEGRATE] Change 2438572 by Nick.Darnell@Nick.Darnell_Dev on 2015/02/09 14:56:14
Editor - Several visual improvements to the buttons in the editor that we want users to be drawn to clicking.  Using font awesome in a few places to give the icons matching size and formatting to the text in the same button.  Additionally fixing several focus issues with buttons, and things being refreshed at the wrong time, that was causing buttons to not be clickable in the My Blueprints view.

[CL 2447031 by Matthew Griffin in Main branch]
2015-02-16 09:28:03 -05:00
Matthew Griffin
246edb4781 [INTEGRATE] Change 2435332 by Andrew.Rodham@AndrewRodham_4.7 on 2015/02/06 09:25:07
Generalized "Add Code to Project" dialog to allow creation of both c++ and blueprint class types.

	The add component option when blueprintable components is enabled, now opens up this dialog rather than the parent class picker.

	UE-8491 - IWCE: New C++ Component and New Blueprint Component should prompt you for a component type to subclass

[CL 2446735 by Matthew Griffin in Main branch]
2015-02-16 04:29:11 -05:00
Matthew Griffin
96c2eed6ab [INTEGRATE] Change 2430090 by Jamie.Dale@Pitbull_JDaleReleases on 2015/02/03 12:23:43
Made "Add Feature or Content Pack..." always available from the "Add New" menu

	It was previously only available when you had an asset path selected, but as this option has nothing to do with the currently selected path(s) it is now available regardless of whether you have an asset or class path selected.

[CL 2437790 by Matthew Griffin in Main branch]
2015-02-09 06:45:37 -05:00
Matthew Griffin
ee3edc9a64 [INTEGRATE] Change 2429903 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/03 10:00:38
Adjusted content browser default thumbnail size

[CL 2437779 by Matthew Griffin in Main branch]
2015-02-09 06:24:31 -05:00
Matthew Griffin
70306fd9f8 [INTEGRATE] Change 2427068 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/31 11:48:03
Further adjustments to the content browser source view splitter size

[CL 2435286 by Matthew Griffin in Main branch]
2015-02-06 09:03:35 -05:00
Matthew Griffin
f69bcbbc5c [INTEGRATE] Change 2426931 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_remote_releases on 2015/01/30 23:38:33
Hide collisions by default and add a menu entry in the content browser to show them

[CL 2435283 by Matthew Griffin in Main branch]
2015-02-06 09:00:53 -05:00