Commit Graph

47 Commits

Author SHA1 Message Date
Peter Sauerbrei
20699438d1 fix for crash when accessing the project in UHT (since it doesn't exist)
[CL 2671204 by Peter Sauerbrei in Main branch]
2015-08-27 13:58:18 -04:00
Peter Sauerbrei
d4a7ba7c19 revert out my plugin change as it is causing a problem when trying to run UHT for ParallelExecutor
[CL 2671084 by Peter Sauerbrei in Main branch]
2015-08-27 12:22:56 -04:00
Peter Sauerbrei
02387c7c2c fix for failure to validate plugins specifically enabled in the uproject file
#codereview matthew.griffin, ben.marsh

[CL 2670986 by Peter Sauerbrei in Main branch]
2015-08-27 11:21:29 -04:00
Peter Sauerbrei
93d8102579 UE-20140 - now only add the plugin binaries directories to the path if the plugin is enabled
#codereview ben.marsh

[CL 2663302 by Peter Sauerbrei in Main branch]
2015-08-20 15:34:43 -04:00
Matthew Griffin
a0648f1897 Added a dialog box to alert users when there is a problem loading a plugin descriptor file
#jira UE-14889

[CL 2625684 by Matthew Griffin in Main branch]
2015-07-20 06:52:56 -04:00
Matthew Griffin
3025b7ea08 Changed code checking module compatibility to only run on non monolithic builds
Also fixed spelling mistake in function that made it hard to find all instances of the same thing

#codereview James.Moran

[CL 2607567 by Matthew Griffin in Main branch]
2015-07-01 11:29:29 -04:00
Matthew Griffin
a7abb56f78 Added a check on whether plugins are compatible when dealing with a content only project as they will not try to build them later. Give the option to disable them before they are added to the list of plugins to load.
Also fixed issue with iteration of plugins as items could be removed from the list while doing so.

UE-17136 - Enabling the WinDualShock plugin will cause the project to be unable to open again

[CL 2603703 by Matthew Griffin in Main branch]
2015-06-29 05:14:20 -04:00
Peter Knepley
c2903c6c42 Reverting plugin descriptor change
Merging 2590240

//depot/UE4-UT/...

to //depot/UE4/...

#codereview Matthew.Griffin

[CL 2592011 by Peter Knepley in Main branch]
2015-06-18 10:50:06 -04:00
Peter Knepley
ceb95abc89 Support for silently ignoring plugin load failures. Can happen if plugin not supported on all platforms.
Merging 2587926

//depot/UE4-UT/...

to //depot/UE4/...

#codereview James.Golding

[CL 2588608 by Peter Knepley in Main branch]
2015-06-16 10:27:07 -04:00
Ben Marsh
cc719d7a21 Always enable installed plugins by default, but update your project file with references to them on startup (so other users opening the project will be able to find it on the marketplace).
[CL 2566860 by Ben Marsh in Main branch]
2015-05-27 12:56:05 -04:00
Ben Marsh
da817d30ef Automatically refresh the plugins list when a plugin is added or modified externally. Also simplify the logic for scanning for plugins.
[CL 2544726 by Ben Marsh in Main branch]
2015-05-10 15:38:43 -04:00
Ben Marsh
86551e13b5 Add a Marketplace URL field to the .uplugin descriptor. The URL will be embedded into projects that enable the plugin, which will prompt to open the marketplace at the given URL if the user doesn't have the plugin installed.
#codereview Richard.Fawcett, Leigh.Swift

[CL 2543889 by Ben Marsh in Main branch]
2015-05-08 18:24:48 -04:00
Ben Marsh
eecb6f24ce Remove ensure against CoreUObject mount delegate existing unless there are plugins with content folders. Not entirely sure why this is necessary yet, but Mac DDC seems to be failing where it wasn't before.
[CL 2526386 by Ben Marsh in Main branch]
2015-04-26 22:19:39 -04:00
Ben Marsh
a784ebdf3c Change IPluginManager to return shared pointers to plugin objects, rather than passing raw pointers by default.
[CL 2526084 by Ben Marsh in Main branch]
2015-04-26 10:47:22 -04:00
Ben Marsh
11ff491a44 Add editor for plugin metadata.
[CL 2526069 by Ben Marsh in Main branch]
2015-04-26 09:18:08 -04:00
Ben Marsh
41d63d4980 Add a virtual destructor to FPlugin.
[CL 2524969 by Ben Marsh in Main branch]
2015-04-24 17:05:49 -04:00
Ben Marsh
9e4c2ae0a5 Use the exposed IPlugin interface to get plugin content folders rather than querying it separately.
[CL 2524929 by Ben Marsh in Main branch]
2015-04-24 16:37:21 -04:00
Ben Marsh
83e12c29e1 Accessor to get an array of all the enabled plugins.
[CL 2524773 by Ben Marsh in Main branch]
2015-04-24 14:58:39 -04:00
Ben Marsh
b1cf5c6d34 Add IPlugin interface, rather than exposing lots of raw data for plugins.
[CL 2524702 by Ben Marsh in Main branch]
2015-04-24 14:23:22 -04:00
Ben Marsh
8be8504edc Remove some of the tedious layers of indirection from the plugin manager.
[CL 2521707 by Ben Marsh in Main branch]
2015-04-22 16:41:13 -04: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
Richard TalbotWatkin
7510a0ba0f Improved splash screen and initialization process.
[CL 2390837 by Richard TalbotWatkin in Main branch]
2014-12-17 02:15:23 -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
Peter Knepley
9028456f7d Merging CL 2355060
//depot/UE4-UT/...

to //depot/UE4/...

[CL 2355062 by Peter Knepley in Main branch]
2014-11-10 15:59:44 -05:00
Peter Knepley
15e57149aa Plugin config file usage
#codereview Josh.Adams

Merging CL 2337697

//depot/UE4-UT/...

to //depot/UE4/...

[CL 2338785 by Peter Knepley in Main branch]
2014-10-23 13:51:22 -04:00