Commit Graph

80 Commits

Author SHA1 Message Date
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Nick Darnell
b98c648c14 Copying //UE4/Dev-Editor to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2756103 on 2015/11/05 by Jamie.Dale

	Implemented UFont::GetResourceSize to work correctly with the Size Map tool

Change 2756104 on 2015/11/05 by Jamie.Dale

	Changed the font used when a font is missing or invalid to be the last resort font, rather than the localized fallback font

	The localized fallback font could cause different results based on your culture, and the last resort font makes it clearer that something is set-up incorrectly as it just draws invalid glyph markers for all of the text.

Change 2756105 on 2015/11/05 by Jamie.Dale

	Fixed a crash when using an empty FKey property with a Data Table

	FKeyStructCustomization was asserting because there were no objects being edited, due to a newly added Data Table containing zero rows.

	I've removed this assert, and also updated SKeySelector to no longer require a separate argument to say whether multiple keys with different values are selected (this is now calculated from the call to get the current key, which will return an empty TOptional for multiple values).

	#jira UE-22897

Change 2757015 on 2015/11/06 by Joe.Tidmarsh

	SSProgressBar marquee tint. Accounts for widget color and opacity.

	PR #1698

Change 2757156 on 2015/11/06 by Joe.Tidmarsh

	Implemented "Go to Variable" functionality for widgets in Widget Blueprint Editor.

	When we switch modes in UMG from Designer to Graph. We select the variable (In "My Blueprint"), if one exists, for the currently selected widget. Additionally we update the details panel.

	* Added SelectGraphActionItemByName to FBlueprintEditor. This selects an item in My Blueprint and also displays it in the details panel of graph mode. SMyBlueprint is not available to FWidgetBlueprintEditor in UMGEditor module as it's privately implemented within Kismet.

	#rb Ben.Cosh
	#jira UE-20170

Change 2757181 on 2015/11/06 by Jamie.Dale

	Cleaned up some duplication in UMG text widgets, and exposed the text shaping options

	The common properties used by all text widgets that are text layout based have been moved into a UTextLayoutWidget base class, and all text layout based widgets now derive from this.

	The options needed to control the text shaping method used by a text based widget have been exposed via the FShapedTextOptions struct. This contains a way to manage these optional (and advanced) overrides. You typically wouldn't change these from the default unless you knew exactly what you were doing (eg, you have a text block containing only numbers).

	This change also updates SRichTextBlock to work with an invalidation panel in the same way that STextBlock does

Change 2757734 on 2015/11/06 by David.Nikdel

	#UE4 #Editor
	- Added support for meta=(TitleProperty="StructPropertyNameHere") on properties of type TArray<FSomeStruct>.
	- This changes the editor rolled-up display of these values from "{0} members" to a stringified version of the specified property (if found).
	#CodeReview: Matt.Kuhlenschmidt

Change 2758786 on 2015/11/09 by Joe.Tidmarsh

	Border widget now correctly synchronizes padding property
	#jira UE-23070

Change 2758791 on 2015/11/09 by Joe.Tidmarsh

	Shadow of FCanvasTextItem should be drawn before the outline color. Consulted with Bruce.N who believes this is not the intended behavior and was an oversight when refactoring FCanvas (CL 1695138)

	#jira UE-21623
	#1608

	#rb Simon.Tovey, Bruce.Nesbit

Change 2758813 on 2015/11/09 by Joe.Tidmarsh

	UMG: Attempting to parent multiple widgets (in Hierarchy tree)  to a widget that can't have multiple children will notify the user and ignore the operation.
	[UE-22921] [CrashReport] Parenting multiple actors under border crashes editor
	#jira UE-22921

Change 2759234 on 2015/11/09 by Nick.Darnell

	Slate - Improving the way we track references to materials in slate to better keep things alive until they're no longer needed for rendering.  Additionally, making it so the we use the material and texture free list when possible when cleaning up things as to not allocate new memory if not required.  Concidentually this can help with problems with corrupted memory on destruct as well, because it means the memory isn't really going to become garbage any more.

	#codereview Matt.Kuhlenschmidt, Bob.Tellez

Change 2760954 on 2015/11/10 by Nick.Darnell

	Slate - A bug in the introduction of custom rendered elements accidentally broke filling out the texture coordinates for standard material usage.  Materials should once again tile correctly just like images do.

	#jira UE-23118

Change 2761129 on 2015/11/10 by Nick.Darnell

	Slate - Removing the Pre-Multiply alpha path the way it was added, introducing it in a way that doesn't require changes inside the shader.  Continuing to improve the SRetainerWidget to no longer have a frame delay between resizes and painting, also working on getting it handle clipping correctly but still not there yet.

Change 2761391 on 2015/11/10 by Alexis.Matte

	jira UE-20281 and UE-22259
	Fbx scene Re-import workflow
	- First draft of the reimport workflow using a reimport asset in the content browser

	#codereview nick.darnell

Change 2762323 on 2015/11/11 by Alexis.Matte

	fix build compilation

Change 2762407 on 2015/11/11 by Jamie.Dale

	UDataTable::SaveStructData now writes out dummy data when RowStruct is null

	This didn't used to happen, which would cause a miss-match between what UDataTable::LoadStructData was expecting, and would result in a Data Table that could never be loaded again.

	This change also improves the error message when editing a Data Table with a null row struct, and adds the editor-only RowStructName property to cache the name of the last used struct (for error reporting).

	#jira UE-22789

Change 2762508 on 2015/11/11 by Nick.Darnell

	UMG - Making it more obvious what keys do special stuff with anchors in UMG.  Fixing the way snapping to anchors works with Control, it now only zeros out the side you're dragging instead of the entire widget, which was silly.  Enhancing the designer message system to no longer be based on an enum and instead let arbitrary systems push and pop FText messages.  Fixing animations in the anchor drop down to properly animate, broke when we introduced active timers.

Change 2763241 on 2015/11/11 by Nick.Darnell

	Slate - We no longer allow popup windows to be larger than the primary display window for windows where max width/height is unspecified.  This is to prevent accidential creation of tooltip windows that are larger than the driver allows causing crashes.

	#jira UE-20336
2015-12-12 08:54:23 -05:00
Nick Darnell
ac05f885af Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main)
#lockdown Nick.Penwarden

[CL 2754371 by Nick Darnell in Main branch]
2015-11-04 16:14:13 -05:00
Allan Bentham
25c10bf77d UEMOB-36
Add material shader quality settings.
Enables quality overrides for android and ios (ES2 flavours)

#codereview jack.porter

[CL 2705914 by Allan Bentham in Main branch]
2015-09-25 04:55:45 -04:00
Max Chen
63b047e2ca Sequencer: Removed sequencer commandline switch.
[CL 2687243 by Max Chen in Main branch]
2015-09-10 18:48:44 -04:00
Jurre deBaare
cb98512916 Changed behaviour of forced HLOD level slider (more use-friendly now)
Added console command for enabling/disabling the HLOD system
Changed/removed HLOD behaviour from build menu
Removed context menu from HLOD level treeview item
Double clicking a (build) LODActor or StaticMeshActor item in the HLOD outliner will now move the editor camera to the actor (just like the scene outliner)

[CL 2678787 by Jurre deBaare in Main branch]
2015-09-03 12:05:29 -04:00
Ben Marsh
3b30d23ec5 Move GEngineVersion into FEngineVersion::Current(), and GCompatibleWithEngineVersion to FEngineVersion::CompatibleWith().
#platformnotify Josh.Adams

[CL 2655102 by Ben Marsh in Main branch]
2015-08-13 15:44:02 -04:00
Jurre DeBaare
32a3a1fd98 HLODOutliner changes
[CL 2649256 by Jurre DeBaare in Main branch]
2015-08-10 06:18:37 -04:00
Richard TalbotWatkin
230b2b381d Changed hierarchy of some of the command lists to better reflect when a keypress has the potential to be handled by a parent if necessary.
#jira UE-19094 - [Some] Hot Keys do not Alert User that they have been already assigned.

[CL 2633952 by Richard TalbotWatkin in Main branch]
2015-07-27 11:26:56 -04:00
Max Preussner
79e16ab8ea Editor: Changing EMapChangeType to enum class, so that it can be forward-declared
[CL 2626953 by Max Preussner in Main branch]
2015-07-20 21:54:58 -04:00
Richard TalbotWatkin
d1cb16a7da Removed the SaveBrushAsCollision command and its bindings.
#jira UE-18353 - SaveBrushAsCollison keybind makes no sense because the builder brush is no longer a user-facing concept

[CL 2619945 by Richard TalbotWatkin in Main branch]
2015-07-14 07:33:53 -04:00
Jurre DeBaare
af4f3fd838 ADDED HierarchicalLodVolume, this volume defines a single cluster containing X num of actors for manual usage
ADDED UE-14356 HLOD: Print user friendly message if you try build and meshes don't have have LODs
ADDED MergeStaticMeshComponets to MeshUtilities needed for next CHANGE
ADDED HLOD preview build step for maps, this only builds the clusters for previewing the settings
ADDED SphereComponent now takes into account min and max drawing distances
ADDED Global forward declares and removed local ones from HierarchicalLOD.h
ADDED Visualization to LODActor class, uses USphereComponent to render its bounds
ADDED IsPreviewActor flag to LODActor class, if true during cluster generation DrawSphereComponents bounds will be used instead of LODActor's
ADDED vertex duplication removal on import
ADDED vertex/index buffer cache optimization on import
CHANGED World.h now forward declares HierarchicalLODBuilder to minimize (re)compile time
CHANGED While building/merging actors HLOD system now takes the orginal staticmesh from previously merged LODActors, this to enable retrieving the correct LOD per mesh (related to UE-15398)
CHANGED HLOD Cluster generation process, now takes into account HierarchicalLODVolumes to exclude actors from cluster generation
CHANGED Renamed CalculateRawMeshTangents to ExtractMeshDataForGeometryCache
FIXED Crash where a nullptr actor was added to actors list for > LOD0 clusters
FIXED Bound creation for actor within a cluster used FVector.Size(), now used FVector.AbsMax()
MOVED FLODCLuster structure into seperate header and cpp file

[CL 2617884 by Jurre DeBaare in Main branch]
2015-07-13 05:27:21 -04:00
Nick Atamas
00a5a87e78 Fixed UE-18232 SProjectBadge does not consistently show tooltip.
[CL 2615740 by Nick Atamas in Main branch]
2015-07-09 16:20:12 -04:00
Ben Marsh
b4e25c6613 Fix hot reload not working correctly with UnrealGameSync; having a build changelist does not necessarily mean that the build is promoted any more. Renamed FEngineVersionBase::IsPromotedBuild() to FEngineVersionBase::HasChangelist(), and use FApp::GetEngineIsPromotedBuild() instead.
#codereview Robert.Manuszewski, Bob.Tellez

[CL 2602096 by Ben Marsh in Main branch]
2015-06-26 09:25:56 -04:00
Matt Kuhlenschmidt
c7dde12a55 Fix issues with sequencer not opening properly when clicking on a new movie scene from the content browser when one is already open.
#codereview max.chen

[CL 2599501 by Matt Kuhlenschmidt in Main branch]
2015-06-24 15:57:37 -04:00
Jurre DeBaare
56fe6969ad Added (optional) display of Engine Version Number in the ProjectBadge
[CL 2585517 by Jurre DeBaare in Main branch]
2015-06-12 06:33:56 -04:00
Mike Fricker
44140db36d Deprecated PreUnloadCallback and PostLoadCallback for modules
- PreUnloadCallback() was not called in all cases a module could be unloaded (Buggy!)
- PostLoadCallback() was never called for modules unless the module happened to be loaded with LoadModuleWithCallback().  (Very confusing!)
- These functions were really just called when dynamically unloading and loading modules (not hot reload, and not when starting up or shutting down.)  This was very confusing.  For the most part you can achieve the same result by overriding StartupModule() and ShutdownModule().
- Additional context: CL 1607584 and https://udn.unrealengine.com/questions/246629/why-is-preunloadcallback-not-called-in-unloadmodul.html

[CL 2562810 by Mike Fricker in Main branch]
2015-05-22 12:22:47 -04:00
Michael Noland
5f6f328a5c Editor: Various 2D snap layer improvements
Added several additional layer action commands:
- Move selection up a layer (Ctrl+PageUp, also changes active layer)
- Move selection down a layer (Ctrl+PageDown, also changes active layer)
- Move selection to top layer (Shift+Ctrl+PageUp, also changes active layer)
- Move selection to bottom layer (Shift+Ctrl+PageDown, also changes active layer)
- Cycle active snap layer forwards (Alt+PageUp)
- Cycle active snap layer backwards (Alt+PageDown)

Changed the snap layer viewport toolbar button to be a reasonable minimum width, reducing horizontal bounciness when switching layers

Snap layers in the project settings are now automatically sorted by depth when they are edited

[CL 2554371 by Michael Noland in Main branch]
2015-05-17 21:09:40 -04:00
Michael Noland
bc2cbc0b70 Editor: Switched styling on 'snap to layer' menu command to match normal menu items, made it bindable, and gave it a default key binding of Ctrl+Space
[CL 2546684 by Michael Noland in Main branch]
2015-05-12 01:32:04 -04:00
Nick Atamas
034d041d2e Slate : Tabs now provide a content slot for TabWell background content.
Editor : Editor puts the project watermark as a badge in the TabWell background.
Project name prefix, badge color and text color can be controlled via:

EditorPerProjectUserSettings.ini:
---------------------------------
[LevelEditor]
ProjectNameWatermarkPrefix=DEV
ProjectBadgeBackgroundColor=(R=237,G=25,B=104,A=255)
ProjectBadgeTextColor=(R=0,G=0,B=0,A=255)

[CL 2533841 by Nick Atamas in Main branch]
2015-05-01 12:40:37 -04:00
Richard TalbotWatkin
be3f0d1d94 Refactored mesh merging dialogs into a non-modal panel in a separate Editor module. Moved actor merging out of 'experimental' classification.
#jira UE-769 - EDITOR: Refactor mesh merging dialog boxes into a non-modal panel

[CL 2533251 by Richard TalbotWatkin in Main branch]
2015-05-01 03:43:37 -04:00
Ben Marsh
2c34190d5b Remove project/plugin includes from UnrealEd. Only a handful of things needs to access it, so just include it manually.
[CL 2524420 by Ben Marsh in Main branch]
2015-04-24 11:25:20 -04:00
Daniel Wright
3e185d944f Removed defunct LightingTools menu
[CL 2521737 by Daniel Wright in Main branch]
2015-04-22 16:52:06 -04:00
Mike Fricker
403a84fcfa Asset Size Mapper tool
- New "Size Map" feature that shows the resource size for selected assets in Content Browser
- Select assets in Content Browser, right click and choose "Size Map..." to show sizes for those assets
- Select actors and press Alt+Shift+M to show sizes of assets used by those actors
- Select assets in Reference Viewer, right click and choose "Size Map..." to show sizes for those assets
- Also added a new "Tree Map" general purpose Slate widget (STreeMap)

[CL 2521609 by Mike Fricker in Main branch]
2015-04-22 15:58:21 -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