Commit Graph

268 Commits

Author SHA1 Message Date
Matt Kuhlenschmidt
4ce2e57d98 Ensure the proper property change flag is being set when resetting to default
[CL 2524949 by Matt Kuhlenschmidt in Main branch]
2015-04-24 16:46:47 -04:00
Dmitry Rekman
1135a65ef1 Fix for (some) shadowing issues in the editor.
#codereview Marc.Audy, Matt.Kuhlenschmidt, Marcus.Wassmer, Mike.Fricker
#lockdown Zachary.EdgertonJones

[CL 2521997 by Dmitry Rekman in Main branch]
2015-04-22 18:33:17 -04:00
Matt Kuhlenschmidt
33c92e738d - Fix inconsistency with property buttons displaying when edit const is changed on a property.
- Fixed memory leaks with property buttons keeping property nodes alive
- Fixed the browse button not being used when an property is edit const

[CL 2521486 by Matt Kuhlenschmidt in Main branch]
2015-04-22 15:03:20 -04:00
Terence Burns
14cb541a13 Config Editor added to UE4.
We now have the capacity to set a uproperty value anywhere in the config file hierarchy

Satisfies UEPLAT-429

The user can now use the 'ConfigHierarchyEditable' meta flag in their uproperties to present a butoon that allows the property to be edited in the config hierarchy, where applicable.
Target platform is configurable.

[CL 2521330 by Terence Burns in Main branch]
2015-04-22 13:40:06 -04:00
Marc Audy
ba008b0bdf Fix shadow variables
[CL 2521205 by Marc Audy in Main branch]
2015-04-22 11:37:49 -04:00
Jamie Dale
4e1c779078 Improved the property filtering options when creating a structure detail view
Previously you could only control whether you saw object properties or not, you can now control whether you see object, asset, class, and interface properties.

[CL 2520833 by Jamie Dale in Main branch]
2015-04-22 07:29:04 -04:00
Mikolaj Sieluzycki
466e9d9195 Swap order of PostEditChange on CDO/archetype and propagating property change to instances.
CapsuleComponent Shape sometimes reverts to previous value after entering a new value.

[CL 2520692 by Mikolaj Sieluzycki in Main branch]
2015-04-22 03:43:44 -04:00
Steve Robb
7147a13be2 TMap properties.
#codereview robert.manuszewski

[CL 2519223 by Steve Robb in Main branch]
2015-04-21 10:25:59 -04:00
Andrew Rodham
86850fe0f8 Changed editor project unit settings to be more flexible
Users can now choose a set of relevant units to display applicable properties in.
Setting a single unit for a given type will result in only that unit ever being used. When multiple exist, the most appropriate unit will be shown when a property editor is opened, and will remain in this unit until something else is selected.

[CL 2519064 by Andrew Rodham in Main branch]
2015-04-21 08:27:25 -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
4d5f3e7287 Property Editor: Changed SPropertyEditorAsset so that the drop-down button with the asset name stays visible longer as horizontal width reduces (still need to do something more agressive like shrink or omit the thumbnail at very small widths)
[CL 2516708 by Michael Noland in Main branch]
2015-04-17 23:17:32 -04:00
Marc Audy
ab4660c7c7 Delete overriden inherited component instances when disabling editable when inherited on a component
[CL 2516339 by Marc Audy in Main branch]
2015-04-17 15:47:10 -04:00
Saul Abreu
ca3c435b70 Removed text localization menu button on text properties. Not currently functional enough to ship.
[CL 2515109 by Saul Abreu in Main branch]
2015-04-16 17:59:37 -04:00
Saul Abreu
901042c9ac Massive cleanup of text localization code and its uses. REVIEW API CHANGES FOR RELEASE NOTES.
[CL 2514827 by Saul Abreu in Main branch]
2015-04-16 15:39:05 -04:00
Jamie Dale
55c570c7d9 Allowed FPropertyNode to notify its FNotifyHook of a pre/post edit change even if the node wasn't contained within an object
ReviewedBy Matt.Kuhlenschmidt

[CL 2511471 by Jamie Dale in Main branch]
2015-04-14 06:32:49 -04:00
Dan Hertzka
a0739d08ca Re-adding CL 2508810 with the previously missing FoliageTypeObjectCustomization files
[CL 2510599 by Dan Hertzka in Main branch]
2015-04-13 14:46:31 -04:00
Matt Kuhlenschmidt
75d01bbad7 Fixed not being able to add fields to enums
#lockdown Zachary.EdgertonJones

[CL 2510340 by Matt Kuhlenschmidt in Main branch]
2015-04-13 10:41:29 -04:00
Saul Abreu
ce65ca0ac8 Removed faulty package dirtying logic from FText property namespace/key menu logic. Opted for using the property handle to notify pre-change and post-change, which properly causes package dirtying and marking a blueprint as needing to be recompiled.
[CL 2509678 by Saul Abreu in Main branch]
2015-04-11 19:14:47 -04:00
Saul Abreu
50499381fe Cleaned up FText property namespace/key menu to use lambdas instead of a locally nested struct and static methods.
[CL 2509671 by Saul Abreu in Main branch]
2015-04-11 18:31:03 -04:00
Dan Oconnor
6ab92e9057 Back out changelist 2508810 - there was a missing file
[CL 2509228 by Dan Oconnor in Main branch]
2015-04-10 19:17:10 -04:00
Dan Hertzka
ecd5c212b9 [UETOOL-269] - Foliage type assets now work with procedural foliage in addition to BP subclasses
- Renamed FProceduralFoliageTypeData to FFoliageTypeObject
- Added property customization for FFoliageTypeObject
- Can contain either a FoliageType asset or BP subclass

[CL 2508810 by Dan Hertzka in Main branch]
2015-04-10 15:45:53 -04:00
Dan Hertzka
fcca7b991d Updated SPropertyEditorAsset to account for AllowedClasses metadata on properties when being created without a valid property editor
[CL 2508764 by Dan Hertzka in Main branch]
2015-04-10 15:22:21 -04:00
Marc Audy
ec8f2d020c Fix shadow variables
[CL 2508395 by Marc Audy in Main branch]
2015-04-10 11:23:49 -04:00
Michael Noland
6ffb9862ef Property Editor: Added support for passing in a command list when creating a details view that can be queried by customizations [UE-13643]
#codereview matt.kuhlenschmidt

[CL 2507937 by Michael Noland in Main branch]
2015-04-10 02:12:33 -04:00
Nick Darnell
6818029208 Editor - Giving the DetailsView more capability to allow it to be set to automatically handle the EditDefaultsOnly flag for showing/hiding nodes when selecting a CDO instead of needing to monitor it, and show/hide them manually.
[CL 2505946 by Nick Darnell in Main branch]
2015-04-08 17:27:30 -04:00