Commit Graph

25 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
Dmitriy Dyomin
3cca969936 World Browser: Do not cache pointer to UEditorEngine use global instead
UE-8839

[CL 2630234 by Dmitriy Dyomin in Main branch]
2015-07-23 03:15:45 -04:00
Dmitriy Dyomin
1c3dc780a7 Added command to 'Levels browser' to move selected foliage instances to specific sub-level
UE-9430

[CL 2466066 by Dmitriy Dyomin in Main branch]
2015-03-02 03:39:59 -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
Richard TalbotWatkin
c3d7ca11e3 Added cancel delegate to Open/Save Asset dialog, called when the user cancels the operation without specifying an asset. Used this to track whether the window is open and thus prevent multiple instances at once.
#jira UE-1240 - Can have more than one instance active of the open level asset picker
#reviewedby Matt.Kuhlenschmidt

[CL 2364646 by Richard TalbotWatkin in Main branch]
2014-11-19 03:38:05 -05:00
Mikolaj Sieluzycki
f0a67f1e2b Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356845 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:18:54 -05:00
Bob Tellez
e5e16eadff [AUTOMERGE]
UE4: Consolidated worldassets command line checks to a static function in editorengine and one in the asset registry. This will make it easier to enable

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2255048 by Bob.Tellez on 2014/08/13 15:19:54.

[CL 2255061 by Bob Tellez in Main branch]
2014-08-13 15:24:26 -04:00
Dmitriy Dyomin
a5b6783ce2 Viewport actor menu command "Add/Remove level selection" works correcly with both old levels browser and a new one.
[CL 2229625 by Dmitriy Dyomin in Main branch]
2014-07-24 04:33:54 -04:00
Bob Tellez
6cd7619e1d [AUTOMERGE]
#UE4 Made the default level streaming class an editor user setting.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2227375 by Bob.Tellez on 2014/07/22 15:10:50.

[CL 2227560 by Bob Tellez in Main branch]
2014-07-22 17:03:35 -04:00
Bob Tellez
cef4d646f7 [AUTOMERGE]
#UE4 Added support to drag and drop world assets on the level browser (specifically the level list in SWorldHierarchy) to add them as sublevels.

#codereview Dmitriy.Dyomin

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2222841 by Bob.Tellez on 2014/07/17 18:26:40.

[CL 2227532 by Bob Tellez in Main branch]
2014-07-22 16:48:56 -04:00
Dmitriy Dyomin
757f54581b Added levels reordering in a Levels browser (drag and drop)
[CL 2221944 by Dmitriy Dyomin in Main branch]
2014-07-17 05:18:29 -04:00
Dmitriy Dyomin
c431419008 Fixed: A new blank map doesnÆt have a Persistent Level
TTP# 341247

[CL 2215758 by Dmitriy Dyomin in Main branch]
2014-07-14 23:07:15 -04:00
Dmitriy Dyomin
33f2bcbe68 Fixed: After changing the streaming method of a level, it is not updated in the sub menu correctly TTP# 341080
[CL 2190570 by Dmitriy Dyomin in Main branch]
2014-07-11 06:38:42 -04:00
Dmitriy Dyomin
788653a3fd World Browser: Changed context menus to be more consistent between different views
[CL 2180113 by Dmitriy Dyomin in Main branch]
2014-07-09 06:11:08 -04:00
Dmitriy Dyomin
3925956d7b Moved "Remove Selected", "Change Streaming Method" comands to a "Levels" section of context menu
TTP# 340491

[CL 2136132 by Dmitriy Dyomin in Main branch]
2014-07-04 04:51:57 -04:00
Dmitriy Dyomin
10a7954a9b Levels tab: When an existing level is added, it doesn't appear in the list until the window is closed and reopened
TTP #340397

[CL 2124419 by Dmitriy Dyomin in Main branch]
2014-07-02 09:22:57 -04:00
Matthew Griffin
2ff606464b Added Audio Streaming Manager and streaming audio playback
Audio Streaming Manager will keep track of SoundWaves that are marked for streaming and any sound sources that are using those waves.
Added functionality to all Sound Buffers to report which chunk of audio they are currently reading from, which the manager will use to request the current and next chunk be loaded in memory.
Added a struct to contain all of the additional information needed for a Streaming SoundWave and set off requests, which the manager will also keep track of to avoid increasing the memory size of all SoundWaves.
Tidied up the Opus Decompressor to reduce the amount of repeated code and share the basic functionality for streaming and non-streaming usage.
Set XAudio sounds up to use streaming data, with a function added to the audio device so that other platforms won't try to make use of it for the moment.

[CL 2123061 by Matthew Griffin in Main branch]
2014-07-01 05:42:02 -04:00
Bob Tellez
48e2c32a7c UE4: When running with WorldAssets, the open level dialog has been changed back to a popup. The inline menus don't work as envisioned and it causes problems on other platforms with native menus (Mac)
[CL 2122618 by Bob Tellez in Main branch]
2014-06-30 19:03:07 -04:00
Dmitriy Dyomin
1cd7ada43a More fixes to "Inspect Level" selection
[CL 2119100 by Dmitriy Dyomin in Main branch]
2014-06-27 02:44:34 -04:00
Andrew Rodham
ba3528c9d4 Made it possible for asset editors to maintain their own FEditorModeTools lists
Breaking changes include:
    * Rename of GEditorModeTools -> GLevelEditorModeTools to signify that it applies only to the level editor modes
    * Addition of FEditorModeRegistry, responsible for managing and creating new editor modes. Modes are no longer registered with an instance of the mode, instead with a mode factory that is able to create a new mode of that type.
    * Editor modes now operate on FEditorViewportClients rather than FLevelEditorViewportClients
    * Added ability to specify an FEditorModeTools when creating an FEditorViewport

Moved component vizualiser manager handling outside of individual editor modes, and into FLevelEditorViewportClient. This should make it easier to transplant in future.

This work addresses TTP#334640 - EDITOR: Investigate making editor modes a per-'editor' concept

Reviewed by Michael Noland, Matt Kuhlenschmidt

[CL 2109245 by Andrew Rodham in Main branch]
2014-06-18 10:16:16 -04:00
Dmitriy Dyomin
fe85d69b84 Disabled "Merge..." command when persistent level is selected in World Browser
[CL 2055333 by Dmitriy Dyomin in Main branch]
2014-04-24 07:23:57 -04:00
Dmitriy Dyomin
876f852356 - Fixed selection in World Browser
[CL 2050615 by Dmitriy Dyomin in Main branch]
2014-04-23 19:46:12 -04:00
Dmitriy Dyomin
f59299b412 World browser:
- Fixed [missing level] operations: replace, remove
- Restored correct styles from CL# 2047641

[CL 2048718 by Dmitriy Dyomin in Main branch]
2014-04-23 19:20:34 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00