Commit Graph

20 Commits

Author SHA1 Message Date
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
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -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
09af8a9c60 Fixed code relying on SLATE_TEXT_ARGUMENT for SNumericEntryBox
Made sure everything was using FText rather than FString.

[CL 2373615 by Jamie Dale in Main branch]
2014-12-02 06:47:27 -05:00
Jamie Dale
f440490671 Converted the property editor to use FText
The display name, filter string, and tooltips for the property editor (and associated detail customizations) are now stored as FText rather than FString. This allows us to remove SLATE_TEXT_ARGUMENT from the detail customization widgets.

[CL 2372595 by Jamie Dale in Main branch]
2014-12-01 11:19:41 -05:00
Andrew Brown
2bb6b0dc1b Modify CreatePropertyNameWidget so that the tooltip (like with the name) is also overrideable. (and fixedup usage).
[CL 2335803 by Andrew Brown in Main branch]
2014-10-21 11:13:59 -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
Nick Darnell
4549a97d5c UMG - Refactoring the slate color customization to play nice with bindings. Adding a new property existenion system to the details panel. Allows for special case additions to be added to the property after it's customization has been used. Now used for bindings. User widgets now have foreground color and color and opacity support.
[CL 2328816 by Nick Darnell in Main branch]
2014-10-14 13:37:45 -04:00
Nick Darnell
dceb9f07cf UMG - Adding render transforms to the base widget class. Beginning work on the designer interface for them. Lots of style refactoring for a few widgets to make it far easier to change their appearance at runtime. Adding slate utility functions to accessing geometry data in blueprints. The math struct customization can now apply min/max UI slider clamps on their components. Disabling the preview on the slate brush customization. Will re-introduce later when we can provide instanced struct customizations. The thumbnails in the details panel now have a hover effect to indicate that they are double clickable. Adding a Delta metadata on numeric properties so that if you want the slider to move in specific increments you can now.
[CL 2285217 by Nick Darnell in Main branch]
2014-09-04 17:26:33 -04:00
Max Preussner
f167dce37e Slate: Moved TestSuite and ColorPicker into new module AppFramework
The AppFramework module is intended to be used for compound widgets and UI related classes that are too specific (not basic enough) for Slate, but also not Editor specific (reusable in non-Editor applications and games). The test suite has been moved in its entirety for now, but core widget specific test classes will eventually be split off and moved back into Slate, so that they can live alongside of their corresponding widgets.

Other changes:
- moved to "include what you use" scheme for SColorPicker
- broke out color picker related widgets that may be reusable
- added forward declarations to reduce header include dependencies

#CodeReview: saul.abreu

[CL 2275496 by Max Preussner in Main branch]
2014-08-27 20:35:19 -04:00
Chris Gagnon
3444d084ab Removed "InterpreteAsLinear", Deprecated FColor DrawColor and added FLinearColor LevelColor to replace it. Changed the underlying FColor's to FLinearColor in the rendering classes, cleaned up a bunch of color conversions.
#codereview matt.kuhlenschmidt

[CL 2235025 by Chris Gagnon in Main branch]
2014-07-28 17:16:21 -04:00
Chris Gagnon
c9bdd932f2 Adding Level Color back into the Levels Panel, fixed the color being displayed gamma corrected which didn't line up with the actual visualization.
Refactored some of the UI code for ULevelStreaming to use PostEditChangeProperty so it's more reuseable.

#codereview matt.kuhlenschmidt,dmitriy.dyomin

[CL 2222165 by Chris Gagnon in Main branch]
2014-07-17 10:14:48 -04:00
Matt Kuhlenschmidt
b02517e596 Improve the display name for property transactions
[CL 2110106 by Matt Kuhlenschmidt in Main branch]
2014-06-18 22:54:29 -04:00
Maciej Mroz
7756bdf54e PropertyEditor: PropertyUtilities has new DontUpdateWhileEditing function. Used by standalone customization widgets.
#codereview Matt.Kuhlenschmidt

[CL 2109092 by Maciej Mroz in Main branch]
2014-06-18 06:40:19 -04:00
Matt Kuhlenschmidt
0bac17760c Fixup usage of deprecated IStructCustomizationUtils interface
[CL 2094462 by Matt Kuhlenschmidt in Main branch]
2014-06-04 11:16:24 -04:00
Matt Kuhlenschmidt
13939a90e9 Deprecated IStructCustomization and struct property customization registration. Use IPropertyTypeCustomization and RegisterPropertyTypeCustomization instead
[CL 2094389 by Matt Kuhlenschmidt in Main branch]
2014-06-04 10:16:14 -04:00
James Golding
507c402a4e Remove Material Expression headers from Engine.h and only include where needed
#codereview nick.penwarden

[CL 2082041 by James Golding in Main branch]
2014-05-22 11:33:54 -04:00
Nick Darnell
2e9e762054 TTP 330596
We now scan for an AllowPreserveRatio metadata flag on properties, if it exists we show the preserve ratio button just like we do for scale.  Currently this is only enabled for the LightFunctionScale property on light components.

[CL 2040803 by Nick Darnell in Main branch]
2014-04-23 17:45:47 -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