Commit Graph

32 Commits

Author SHA1 Message Date
Daniel Wright
f8a13b59d7 From NickA - Added ability to set per-property instance metadata.
[CL 2601290 by Daniel Wright in Main branch]
2015-06-25 17:00:49 -04:00
Matt Kuhlenschmidt
290aeac27c Added support for all signed and unsigned integer types in property editors.
[CL 2587269 by Matt Kuhlenschmidt in Main branch]
2015-06-15 09:04:00 -04:00
Matt Kuhlenschmidt
e34c4276b4 Added an method to skip data validation for details panel propertynodes. This should be only used in advanced customization circumstances with huge amounts of data where the way the nodes are invalidated is strictly controlled
#codereview michael.noland

[CL 2549232 by Matt Kuhlenschmidt in Main branch]
2015-05-13 14:02:26 -04:00
Matt Kuhlenschmidt
989d0e2bb2 Fix crash if re-run construction scripts is called while routing post-edit change on a multi-object selection
https://jira.ol.epicgames.net/browse/UE-15047

[CL 2541824 by Matt Kuhlenschmidt in Main branch]
2015-05-07 18:10:49 -04:00
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