Commit Graph

51 Commits

Author SHA1 Message Date
James Hopkin
bf1fa3726a Tidied a few asset registry uses: added consts, removed redundant code.
[CL 2603648 by James Hopkin in Main branch]
2015-06-29 04:20:29 -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
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
Dan Hertzka
dd74179c7a [UE-1518] - Simple hookup of new editor icons
[CL 2532543 by Dan Hertzka in Main branch]
2015-04-30 16:52:00 -04:00
Rolando Caloca
7573c337f3 UE4 - Disallow material functions also on bulk edit
[CL 2523478 by Rolando Caloca in Main branch]
2015-04-23 17:42:25 -04:00
Matt Kuhlenschmidt
6779b61ba1 Move some asset context menu entries around
Show in Folder and Show in Explorer are now in the top level menu

[CL 2523364 by Matt Kuhlenschmidt in Main branch]
2015-04-23 17:05:53 -04:00
Daniel Wright
b3000a2491 Fixed MaterialInstanceConstantName compile error
#lockdown Zachary.EdgertonJones

[CL 2521894 by Daniel Wright in Main branch]
2015-04-22 17:46:00 -04:00
Rolando Caloca
00b0311c3a UE4 - Do not allow Materials to be edited using property matrix (Fixes UE-3326).
Materials don't have a good pattern/paradigm for updating 'anywhere' as they rely on talking to and flushing the rendering thread.

[CL 2521721 by Rolando Caloca in Main branch]
2015-04-22 16:46:57 -04:00
Mike Fricker
403a84fcfa Asset Size Mapper tool
- New "Size Map" feature that shows the resource size for selected assets in Content Browser
- Select assets in Content Browser, right click and choose "Size Map..." to show sizes for those assets
- Select actors and press Alt+Shift+M to show sizes of assets used by those actors
- Select assets in Reference Viewer, right click and choose "Size Map..." to show sizes for those assets
- Also added a new "Tree Map" general purpose Slate widget (STreeMap)

[CL 2521609 by Mike Fricker in Main branch]
2015-04-22 15:58:21 -04:00
Michael Noland
3c6f3e3894 Editor: Prevented mixed icon usage (some items in a section but not all using an icon) in the content browser context menus by removing the icons
#codereview matt.kuhlenschmidt

[CL 2517214 by Michael Noland in Main branch]
2015-04-20 00:01:25 -04:00
Michael Noland
3f61527061 Editor: Minor stylistic improvements in the content browser "Asset Actions" submenu
- Fixed inconsistent icon usage in the 'Find' section
- Renamed "Select Containing Folder" to "Show in Sources Panel" to match how the documentation talks about it and by analogy with Show in [Explorer|Finder]
- Renamed "Property Matrix..." to "Bulk Edit via Property Matrix..." to use a more familiar grounding term

[CL 2500463 by Michael Noland in Main branch]
2015-04-02 17:56:43 -04:00
Jason Hoffman
1c9eff3b1f UE-11898 Unable to duplicated asset in Content Browser with Ctrl+W
[CL 2486536 by Jason Hoffman in Main branch]
2015-03-20 15:04:00 -04:00
Phillip Kavan
78d2766d52 [UE-9398] Restored ability to duplicate the current level.
change summary:
- reverted CL# 2442516 per notes in JIRA, as the crash does not occur on main (may have been fixed)

[CL 2463973 by Phillip Kavan in Main branch]
2015-02-27 11:05:06 -05:00
Matthew Griffin
19c5f6d345 [INTEGRATE] Change 2442516 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/11 17:52:51
Disable the ability to duplicate the current world due to instability with open blueprints

[CL 2448755 by Matthew Griffin in Main branch]
2015-02-17 10:46:56 -05:00
Richard TalbotWatkin
44e15875cd Added the ability to commit file deletions from the editor.
#jira UE-6304 - Source Control: Add the ability to commit file deletions from the editor
#reviewedby Thomas.Sarkanen

[CL 2446774 by Richard TalbotWatkin in Main branch]
2015-02-16 05:11:32 -05:00
Thomas Sarkanen
be75fe1eca Updated revision display to display strings rather than revision indices
API break: added new pure virtual ISourceControlProvider::UsesChangelists()
API break: added new pure virtual ISourceControlState::FindHistoryRevision(const FString&)
API break: added new pure virtual ISourceControlRevision::GetRevision()

Implementing a Git provider requires us to be able to display revisions that are not indices as Git revisions are hashes. This updates the relvant code to allow us to display these revisions correctly.

[CL 2411986 by Thomas Sarkanen in Main branch]
2015-01-20 05:48:14 -05:00
Jamie Dale
55c3728d11 Added support for showing game and engine classes in the Content Browser
UE-7184 - Show game c++ classes and engine c++ classes in the content browser

The Content Browser now has extra entries for "Game C++ Classes" and "Engine C++ Classes" (with "Game" and "Engine" being renamed to "Game Content" and "Engine Content" respectively). These new folders serve as hosts for the list of available C++ modules, with each module internally mirroring the folder structure on disk.

For example:
- Game C++ Classes
    - ShooterGame
        - Classes
            - Bots
                - ShooterBot
                - ShooterAIController
                - [...]
            - [...]

The Content Browser allows you to navigate and search these classes like you can with assets, and provides convenient access to either edit an existing class, or create a new class (either within a selected folder, or derived from a selected class).

As the Content Browser only shows you known UClass types, any new classes need to be compiled into a loaded module before they will appear. This means that adding a new class will now automatically hot-reload your target module. Should you prefer to handle building and loading your modules manually, you can disable the automatic hot-reload via "Editor Settings" -> "Miscellaneous" -> "Hot Reload" -> "Automatically Hot Reload New Classes" (see UEditorUserSettings::bAutomaticallyHotReloadNewClasses).

[CL 2409386 by Jamie Dale in Main branch]
2015-01-16 15:39:47 -05:00
Jeff Farris
3672452617 Added information to documentation links URLs to be able to gather stats about where users are coming from when they view documentation.
[CL 2406128 by Jeff Farris in Main branch]
2015-01-14 13:15:22 -05:00
Richard TalbotWatkin
ee45766298 Sync option in the Content Browser context menu refreshes icons after operation completes.
#jira UE-1400 - When syncing an asset from source control via the content browser automatically refresh its status afterward.

[CL 2398523 by Richard TalbotWatkin in Main branch]
2015-01-06 04:15:02 -05:00
Dan Oconnor
3b84a1578f Removed experimental flag on blueprint merging
[CL 2392857 by Dan Oconnor in Main branch]
2014-12-18 13:57:42 -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
Michael Noland
da8beb7db9 Editor: Add dummy icons to some asset context menu options to provide consistent padding in the sections they appear in
[CL 2366039 by Michael Noland in Main branch]
2014-11-19 23:55:24 -05:00
Mikolaj Sieluzycki
51f5333986 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356864 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:58:53 -05:00
Dan Oconnor
5730043362 Moved Blueprint Merge tool toggle to experimental editor settings
[CL 2345631 by Dan Oconnor in Main branch]
2014-10-30 20:04:18 -04:00