Commit Graph

28 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
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
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
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
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
Marc Audy
ec8f2d020c Fix shadow variables
[CL 2508395 by Marc Audy in Main branch]
2015-04-10 11:23:49 -04:00
Matt Kuhlenschmidt
0bcbec003f Reset to default now propagates changes to subclasses
[CL 2505547 by Matt Kuhlenschmidt in Main branch]
2015-04-08 14:46:36 -04:00
Marc Audy
46d32553c4 Allow property node to be overriden as read-only
#codereview Matt.Kuhlenschmidt

[CL 2478684 by Marc Audy in Main branch]
2015-03-13 12:41:11 -04:00
Richard TalbotWatkin
2baeab665b Optimizations to details panel when there are many large array properties.
#jira UE-7808 - Editor slows exponentially when selecting an instanced static mesh in viewport that has a large number of instances

[CL 2427864 by Richard TalbotWatkin in Main branch]
2015-02-02 03:29:45 -05:00
Ben Zeigler
d2fdc1a337 #UE4 Fix a crash when clearing an array inside an array is propagated to child blueprints that have an empty outer array. PropagatePropertyChange handled this case already, but now PropagateArrayPropertyChange does as well
#codereview Robert.Manuszewski

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2384498 by Ben.Zeigler on 2014/12/10 17:52:54.

[CL 2384499 by Ben Zeigler in Main branch]
2014-12-10 17:54:08 -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
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
Mikolaj Sieluzycki
462bb3edc1 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356890 by Mikolaj Sieluzycki in Main branch]
2014-11-12 05:28:51 -05:00
Maciej Mroz
de14c41e95 Cis fix, missing hader
[CL 2351685 by Maciej Mroz in Main branch]
2014-11-06 15:20:42 -05:00
Maciej Mroz
5605d3f5d3 Fill UDS in arrays with default values [UE-4800]
[CL 2351537 by Maciej Mroz in Main branch]
2014-11-06 15:16:32 -05:00
Maciej Mroz
bebef2f5ef UE-4800 CRASH: UDS: Crash when deleting default element of array struct variable
Problem: FPropertyItemValueDataTrackerSlate keeps raw pointer to invalid memory.
Fix: FPropertyItemValueDataTrackerSlate is reconstructed.
It's a temporary fix. FPropertyItemValueDataTrackerSlate should never use raw pointer.

#codereview Matt.Kuhlenschmidt

[CL 2351526 by Maciej Mroz in Main branch]
2014-11-06 15:16:19 -05:00
Dan Oconnor
b26a182a0d Adding PropertiesInOrderDisplayed accessor, Property Highlighting, ShowAllAdvancedProperties, Displayed Properties Changed delegate, Custom Layout disabling, property whitelisting to details view. Used by Diff and Merge tools.
Merge tool highlighting improved, now uses property paths.

[CL 2338733 by Dan Oconnor in Main branch]
2014-10-23 13:16:13 -04:00
Maciej Mroz
f55429024e CPF_EditInline flag removed (replaced by metadata).
CPF_PersistentInstance  flag added.

#codereview Robert.Manuszewski, Nick.Whiting, James.Golding

[CL 2308211 by Maciej Mroz in Main branch]
2014-09-24 09:09:32 -04:00
Michael Noland
d01f8b5283 Core: Remove unused bChangesTopology member from FPropertyChangedEvent and removed most uses, in preparation for deprecating the three-argument constructor
#codereview matt.kuhlenschmidt

[CL 2304635 by Michael Noland in Main branch]
2014-09-19 19:00:52 -04:00
Matt Kuhlenschmidt
91ba99b69f Fixed broken IsEditConst node
[CL 2289986 by Matt Kuhlenschmidt in Main branch]
2014-09-09 12:12:25 -04:00
Nick Darnell
759726f323 Editor - Checking parent nodes for edit inline properties to see if they are edit const.
[CL 2289648 by Nick Darnell in Main branch]
2014-09-08 13:46:59 -04:00
Ben Marsh
e9f8b8d3a1 Fixup multiline comments that are meant to be documentation. Need to start with /** for doxygen to parse them.
[CL 2265840 by Ben Marsh in Main branch]
2014-08-21 08:33:39 -04:00
Dan Oconnor
6f59271a54 #UE4 Improved view of CDO in diff view, can now cycle through the differences, toggle filtering of properties that differ
[CL 2253582 by Dan Oconnor in Main branch]
2014-08-12 16:54:27 -04:00
Matt Kuhlenschmidt
ebcbdd05bb UMG - Animations now only evaluate the parts of multi-component curves (e.g, margin, color, vector) which have keys. If a curve has no keys the current value of the field is not changed
[CL 2234836 by Matt Kuhlenschmidt in Main branch]
2014-07-28 15:15:42 -04:00
Maciej Mroz
f40ef72418 PropertyEditor refactored. It's ready for StructureDefaultView. Some SDetailsView functions were moved to SDetailsViewBase. FPropertyValueImpl calls NotifyFinishedChangingProperties properly.
#codereview Matt.Kuhlenschmidt

[CL 2108084 by Maciej Mroz in Main branch]
2014-06-17 09:41:33 -04:00