Commit Graph

25 Commits

Author SHA1 Message Date
Matt Kuhlenschmidt
8489620e8d Fix crash selecting objects in the level editor
#codereview andrew.rodham

[CL 2520114 by Matt Kuhlenschmidt in Main branch]
2015-04-21 17:39:55 -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
Maciej Mroz
3c074c520d Fix for crash in FComponentTransformDetails::CacheCommonLocationUnits
#codereview Andrew.Rodham

[CL 2500610 by Maciej Mroz in Main branch]
2015-04-02 19:45:58 -04:00
Andrew Rodham
3ac1e0da19 Added editor project setting to define whether to display units in imperial or metric (or not at all)
Also added a default input unit that is used when no units are specified on a text input.

This addresses UE-11863 and UE-9313

[CL 2499638 by Andrew Rodham in Main branch]
2015-04-02 05:30:34 -04:00
Matthew Griffin
908dae2201 [INTEGRATE] Change 2438600 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/09 15:15:59
Fix selected components disappearing while spinning a rotation spin box

[CL 2447036 by Matthew Griffin in Main branch]
2015-02-16 09:29:00 -05:00
Matthew Griffin
e1f77105f2 [INTEGRATE] Change 2436618 by Phillip.Kavan@phosphor_pkavan_LT on 2015/02/07 00:24:51
Fix various issues with default transform property value propagation and "live" property defaults editing in the Blueprint editor.

	#jira UE-8111 - Adjusting values of components do not update in realtime

	change summary:
	- revised/consolidated transform propagation code to make direct use of GetArchetypeInstances() for RF_ArchetypeObject template objects, now that GetArchetypes() is able to find SCS component templates stored in the BPGC.
	- removed unnecessary/unused default transform value propagation methods and code paths.
	- ensure that the SCS viewport calls Invalidate() on refresh so that changes are reflected in the preview viewport. this may have been a regression from preview actor instance update changes made to support single-screen mode.

	#codereview Maciej.Mroz, Marc.Audy

[CL 2446868 by Matthew Griffin in Main branch]
2015-02-16 06:51:44 -05:00
Matthew Griffin
a6f67be75f [INTEGRATE] Change 2428711 by Maciej.Mroz@maciej.mroz_D1729_1322 on 2015/02/02 16:39:40
Transform (location, rotation, scale) change from an original component template is propagated into overridden component templates.
	- Reset works properly.
	- Rotation is fixed

	#codereview Phillip.Kavan

[CL 2435541 by Matthew Griffin in Main branch]
2015-02-06 11:42:25 -05:00
Matthew Griffin
45c747a423 [INTEGRATE] Change 2428190 by Maciej.Mroz@maciej.mroz_D1729_3362 on 2015/02/02 10:55:55
Transform (location, rotation, scale) change from an original component template is propagated into overridden component templates. - WIP

	#codereview

[CL 2435512 by Matthew Griffin in Main branch]
2015-02-06 11:25:56 -05:00
Michael Noland
e0fbbc5e23 Editor: Fix crash when a non-uniform scale is used (failure to find FVector type inside UObject as its outer has changed)
[CL 2416193 by Michael Noland in Main branch]
2015-01-22 20:04:37 -05:00
Andrew Rodham
2fc8838ff9 Added units to the component transform details
[CL 2398621 by Andrew Rodham in Main branch]
2015-01-06 07:30:01 -05: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
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
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Richard TalbotWatkin
ad089b6d68 Fixed "mirror" option in scale details context menu so that it persists.
#ttp 347906 - Editor: righclick "mirror" for scale values in details window is not working
#branch UE4
#proj Editor.DetailCustomizations
#reviewedby Matt.Kuhlenschmidt

[CL 2314206 by Richard TalbotWatkin in Main branch]
2014-09-30 11:36:36 -04:00
Phillip Kavan
b0444d88c9 [345504] Blueprints - Fix issues with propagation of default rotation transform values during live editing.
- Modified FComponentTransformDetails to fix various issues with default rotation value propagation.
- Consolidated default transform value propagation code into FComponentEditorUtils to eliminate some redundancy.

#codereview Maciej.Mroz,James.Golding

[CL 2307467 by Phillip Kavan in Main branch]
2014-09-23 17:21:34 -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
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Phillip Kavan
ce2f3d85f8 [341253] Blueprints - Non-native root component location/rotation info is no longer editable.
The location & rotation will be overwritten at spawn/placement time, so editing those values in the Blueprint editor Details tab would have no effect at construction time and was thus causing some confusion.

Note that native root component transform information was not previously editable. This change exposes the Scale for both native and non-native root components for editing and hides the Location/Rotation fields.

Also added some extra information to the root component's Rich Tooltip in Components mode of the Blueprint editor, to indicate why the location & rotation fields of the Transform section are not available for editing.

#codereview James.Golding,Zak.Middleton,David.Nikdel

[CL 2230963 by Phillip Kavan in Main branch]
2014-07-24 20:56:55 -04:00
Richard TalbotWatkin
5e3c4d6930 Modified struct customization for FMatrix and FTransform to work in the same way as the component transform details customization.
#ttp 339291 - Level Editor Details panel transform copy/paste not compatible with Blueprint Details panel transform
#branch UE4
#proj Editor.DetailCustomizations
#reviewedby Chris.Wood

[CL 2169038 by Richard TalbotWatkin in Main branch]
2014-07-07 07:00:30 -04:00
Michael Noland
7939afbab5 Editor: Add missing IPropertyUtilities.h include (non-unity)
#codereview Matt.Kuhlenschmidt

[CL 2062734 by Michael Noland in Main branch]
2014-05-03 00:37:05 -04:00
Matt Kuhlenschmidt
52f5446419 Added the ability to copy and paste location,rotation, and scale from a details panel.
Cleaned up the ui for toggling absolute and relative scale.  We no longer show a hyperlink and use a dropdown menu instead.

[CL 2062387 by Matt Kuhlenschmidt in Main branch]
2014-05-02 15:00: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