Commit Graph

23 Commits

Author SHA1 Message Date
Nick Darnell
844fa8d574 Editor - Continuing to itterate on editor settings autodiscovery.
[CL 2521761 by Nick Darnell in Main branch]
2015-04-22 16:58:17 -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
Dinesh Kumar
7aef1ff5ee Paper2D: Moved 2d level editor settings -> project settings
- Added shortcut to edit layers settings
- Added button to snap selected actors to selected layer

[CL 2510137 by Dinesh Kumar in Main branch]
2015-04-13 06:38:54 -04:00
Dinesh Kumar
f0a9771d33 Paper2D: 2D Mode
- Combined 2D Rotate / Translate widget
- 2D Layer Snap planes
- Some UI stuff to go with it
#codereview michael.noland

[CL 2500349 by Dinesh Kumar in Main branch]
2015-04-02 16:44:37 -04:00
Marc Audy
a425eba9ed Unify Slate's FInputGesture and Engine's FInputChord as FInputChord defined in Slate
[CL 2481648 by Marc Audy in Main branch]
2015-03-17 11:36:28 -04:00
Jamie Dale
47ce6c9c99 Added a ConfigRestartRequired meta-data property to allow you to tag config properties as requring an application restart before they take effect
UE-9022 - IWCE: Had to restart editor after toggling Blueprintable Components option for anything to work

[CL 2446904 by Jamie Dale in Main branch]
2015-02-16 07:54:27 -05:00
Lina Halper
f87f4b2ef3 #ANIM: Add Animation editor setting to editor setting
[CL 2435781 by Lina Halper in Main branch]
2015-02-06 14:15:24 -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
Jamie Dale
b903ba8d80 Added support for disabling tab spawner menu entries
You could previously only have them enabled or hidden, you can now add them as disabled.

You can also now bind the menu item state to a delegate to let it update after the tab spawner has been registered.

#codereview Nick.Atamas

[CL 2341064 by Jamie Dale in Main branch]
2014-10-27 09:51:25 -04:00
Max Preussner
f41be7ca18 SettingsEditor: API improvements
- made public headers compilable individually
- moved interfaces to public root
- removed module singleton getter
- code and documentation cleanup

#UpgradeNotes:
- instead of ISettingsEditorModule::GetRef() use FModuleManager::GetModuleChecked<ISettingsModule>("SettingsModule")
- instead of including SettingsEditor.h include the interface headers you actually use

[CL 2340730 by Max Preussner in Main branch]
2014-10-27 07:53:55 -04:00
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -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
Mike Beach
38afe161e0 Messaging users with empty graphs, how to start adding nodes.
[CL 2295781 by Mike Beach in Main branch]
2014-09-12 18:42:03 -04:00
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00
Jamie Dale
c730fdef83 Added support for choosing which platforms your project will target
TTP# 332489 - TOOLS FEATURE: Editor: Allow user to designate which platforms a project is designed for; warn user when deploying to platforms that will result in a bad time

There is now a "Target Platforms" tab in the project settings which allows you to choose which platforms your project will target. This information is stored inside the .uproject file.

If you try and launch, cook, or package for a project that isn't on the supported list, then you'll see a suppressible warning notifying you that the project may not run as expected. This is also conveyed to you via a warning icon next to platforms which aren't set as a target.

Additionally the target platform icons are shown in the tooltip on the "Open Project" dialog, as well as in the tab area of the level editor.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2088161 by Jamie Dale in Main branch]
2014-05-29 17:37:19 -04:00
James Golding
ccb4e5d277 More Engine.h cleanup (AnimCompression, Niagara, AnimSet, AutomationTestSettings, BookMark, BrushBuilder, Channels)
[CL 2085401 by James Golding in Main branch]
2014-05-29 17:01:48 -04:00
Richard TalbotWatkin
8a751f48fc Miscellaneous improvements to keyboard shortcuts editor.
#ttp 335130 - EDITOR: Keyboard Shortcuts: Toast falsely warns of failed import if prompted for save
#branch UE4
#proj Editor.EditorSettingsViewer, Editor.InputBindingsEditor, Editor.UnrealEd, Developer.SettingsEditor
#add Added FEditorSettingsViewerModule::HandleInputBindingsSave as a SaveDelegate for the keyboard bindings section, whose purpose is just to remove user gestures so nothing is flushed to config at editor shutdown, and hence does not supersede the freshly copied imported config.
#change Changed the message in FEditorSettingsViewerModule::ShowRestartWarning to inform the user that changes will not take place until after restart.
#change Fixed input binding editor behavior so that valid gestures are committed immediately instead of requiring a change of focus.
#reviewedby Max.Preussner

[CL 2079970 by Richard TalbotWatkin in Main branch]
2014-05-21 02:13:29 -04:00
Max Preussner
8fec9bafc3 Settings: moved graph editor settings into GraphEditor module; added 'Graph Editor' settings section to Settings UI
Settings specific to Anim, Blueprint and Material Editor should probably be broken out into their own settings classes in the respective modules at some point. It feels a little strange that the GraphEditor needs to be aware of specific pin and node title types. At this time I did not want to refactor the existing graph editors though, and since many of the properties are currently being shared, pulling these settings out of UEditorUserSettings is at least a good first step. In the future I would like to see settings sections for specific graph based editors instead of having a generic 'Graph Editor' section that is shared by some or all editors.

I exposed various color settings in the UI as many users seem to be quite excited about customizing their Editor. If you think that some settings should be added or removed, please feel free to make any desired changes or let me know. Thanks!

#CodeReview: nick.whiting

[CL 2079703 by Max Preussner in Main branch]
2014-05-20 19:00:53 -04:00
Max Preussner
da393874e6 Settings: Removed custom reset/export/import logic for UEditorUserSettings (TTP# 326544)
[CL 2075847 by Max Preussner in Main branch]
2014-05-16 15:13:39 -04:00
Max Preussner
1779401e8e removed explicit boxing of TWeakObjPtr, because this is no longer necessary since the TWeakObjPtr assignment operators have been fixed
[CL 2047880 by Max Preussner in Main branch]
2014-04-23 19:10:37 -04:00
Max Preussner
2e86fc514e moved miscellaneous level editor settings into their own section
[CL 2038119 by Max Preussner in Main branch]
2014-04-23 16:34:21 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00