Commit Graph

123 Commits

Author SHA1 Message Date
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Patrick Boutot
f9bfdd4ca0 WidgetReflector: Set the correct fill value.
#rnx

[CL 14954286 by Patrick Boutot in ue5-main branch]
2020-12-18 07:30:57 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Patrick Boutot
d886e2413b WidgetReflector: Build widget tooltip only when requested. Add message when the widget is part of an invalidation root.
#rb nick.darnell

[CL 14822494 by Patrick Boutot in ue5-main branch]
2020-11-30 15:13:37 -04:00
Jurre deBaare
f074fb8c73 Numerous non-unity fixes
#rb none
#fyi Matt.Kuhlenschmidt, jeanmichel.dignard, Mike.Zyracki, Helge.Mathee, Brett.Miller, Simon.Tovey, Alexis.Matte, Steve.Smith, Sergio.Gardeazabal, Patrick.Boutot, Martin.Ridgers, Brooke.Hubert, Patrick.Enfedaque, Roey.Borsteinas, JeanFrancois.Dube, Jose.Villaroel, John.Hable, Danny.Couture, Zach.Bethel

[CL 14786858 by Jurre deBaare in ue5-main branch]
2020-11-19 11:19:38 -04:00
Patrick Boutot
595e36d594 WidgetReflector: Add support for GlobalInvalidation.
#rb vincent.gauthier

[CL 14781816 by Patrick Boutot in ue5-main branch]
2020-11-18 16:33:17 -04:00
Patrick Boutot
8d4c415d78 WidgetReflector: Fix some implicit conversions.
#jira UE-88354
#rb vincent.gauthier

[CL 14781798 by Patrick Boutot in ue5-main branch]
2020-11-18 16:30:55 -04:00
Patrick Boutot
10d5d4fdc1 WidgetReflector: Fix the snapshot save to Json. It had missing properties and navigation.
#rb vincent.gauthier

[CL 14765217 by Patrick Boutot in ue5-main branch]
2020-11-17 15:04:28 -04:00
Patrick Boutot
f1b5bde162 WidgetReflector: Add command to take a snapshot.
#rb vincent.gauthier

[CL 14733216 by Patrick Boutot in ue5-main branch]
2020-11-12 07:37:26 -04:00
Patrick Boutot
9633dd85dd Fix implicit type conversion with CreateWithImageData.
#jira UE-88354

[CL 14641008 by Patrick Boutot in ue5-main branch]
2020-11-03 08:30:06 -04:00
Patrick Boutot
ff50fadd0b WidgetReflector: Show more detaill in the tree view (enabled, volatile, HasActiveTimer, ActualSize).
#jira none
#rb nick.darnell

[CL 14578641 by Patrick Boutot in ue5-main branch]
2020-10-26 13:30:51 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
brooke hubert
48113fc77e Adding EditorFramework to build.cs files
#rnx
#Jira UE-96448
#rb chris.gagnon

[CL 14114839 by brooke hubert in ue5-main branch]
2020-08-14 13:24:16 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
nick darnell
6ee6c782bb Cache off the value of slate global invalidation mode when using Pick against painted widgets, and then turns it off while picking painted widgets. Eventually this should be modified to work against proxies and cached elements instead.
#ROBOMERGE-SOURCE: CL 11964108 via CL 11964109 via CL 11964110 via CL 11964114
#ROBOMERGE-BOT: (v656-11643781)

[CL 11964117 by nick darnell in Main branch]
2020-03-05 16:29:47 -05:00
rex hill
4511728f09 Tab manager filter can now block tab spawn
#rb chris.gagnon


#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 11604269 via CL 11604360 via CL 11604439
#ROBOMERGE-BOT: (v656-11643781)

[CL 11743509 by rex hill in Main branch]
2020-02-28 11:30:46 -05:00
nick darnell
fd881a89b8 Slate - Avoid a rare crash in the Widget Reflector when the clipping states don't match.
#ROBOMERGE-SOURCE: CL 11566549 via CL 11566555 via CL 11566562
#ROBOMERGE-BOT: (v654-11333218)

[CL 11566567 by nick darnell in Main branch]
2020-02-20 12:05:42 -05:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
jamie dale
6bdb3390a0 Added support for rendering TTF/OTF fonts containing bitmaps, including color fonts (like Emoji)
Note: Bitmap fonts require FreeType 2.10, and support is compiled out if using an older version.

Font Rendering:
 - ApplySizeAndScale now computes the desired pixel size manually (using our desired DPI) rather than calling FT_Set_Char_Size.
   - This also includes the font scale, which avoids the call to FT_Set_Transform and lets us remove some workarounds for inconsistent scaling from FreeType.
   - For scalable fonts the desired pixel size is passed to FT_Set_Pixel_Sizes.
   - For bitmap fonts the desired pixel size is used to find the most suitable strike size (set via FT_Select_Size) and the ratio needed to scale that strike to the desired size (see GetBitmapAtlasScale and GetBitmapRenderScale).
 - AppendGlyphFlags has been updated to load color data (when available), and to only exclude bitmap data for fonts that also have scalable data.
 - FSlateFontRenderer::GetRenderDataInternal has been updated to handle color bitmap rendering (BGRA, sRGB) in addition to the existing grayscale rendering.
   - It will also handle scaling down bitmap font strikes that are larger than the desired size, which saves space in the atlas (see GetBitmapAtlasScale).
   - It won't scale up any bitmaps, as that is handled by the transform applied when batching the glyph quads for rendering (see GetBitmapRenderScale).
 - Added support for disabling outline and tint for bitmap fonts (in Slate and Canvas).
 - Added support for batching both grayscale (8-bit alpha-only) and color (8-bit per-channel BGRA) font quads from a font texture atlas (in RHI, D3D, and OpenGL).
 - Removed unused data from FCharacterRenderData.

#jira
#rb Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 8177432 via CL 8197318
#ROBOMERGE-BOT: (v401-8057353)

[CL 8197520 by jamie dale in Main branch]
2019-08-21 17:23:59 -04:00
nick darnell
95fc2a339e SlateGI - Simages now cache their last assigned image, if they don't it's possible the memory changed out from under them, and they have no idea if they actually need to invalidate. Can still further improve images by checking if the image size changed to perform a paint instead of a layout invalidate. Adding a SetAttribute function on SWidget that makes setting values and invalidation an easier pattern to repeat effiecently and not need to overinvalidate things like volatility. Updating several places in the widget reflector so that we can capture the tick/volatility/indirectvolatility/has active timers, state of widgets in the widget tree.
Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 7451853 via CL 7461937 via CL 7467264
#ROBOMERGE-BOT: (v371-7306989)

[CL 7467333 by nick darnell in Main branch]
2019-07-20 02:14:13 -04:00
matt kuhlenschmidt
c64ca632c7 Slate Global Invalidation System
This change makes it possible to remove the layout and painting overhead that Slate performs every frame.  The system is off by default as we continue to iterate on it.

However, this includes massive changes to batching, rendering, hit testing, and invalidation panels which are permanent changes and cannot be disabled.

#rb chris.gagnon, nick.darnell
[CODEREVIEW] nick.darnell


#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 7232617 via CL 7235502
#ROBOMERGE-BOT: (v367-6836689)

[CL 7235503 by matt kuhlenschmidt in Main branch]
2019-07-08 23:50:34 -04:00
matt hoffman
5fc20eb45d This is a significant overhaul to the Curve Editor used by Sequencer which adds a plugin-based architecture and extensibility. New tools and toolbar buttons can be added to all usages of the curve editor via user plugins, and the different views for data can be created modularly so new implementations of the editor can register their own way of drawing their data and the tools should just work. Additionally, you can now write your own filters to operate on curve editor data for custom implementations of smoothing, key generation, etc.
The curve editor supports three view types by default - an absolute view (default, matches old behavior), a stacked view and a normalized view. Stacked views draw each curve separately (so non-overlapping) and normalized against their own min/max values. The normalized view draws all curves overlapping with each one normalized against its own min/max values.

A tree view has been added to help effectively manage large numbers of curves. Selecting curves in the treeview controls which curves are visible in the view area. The treeview also supports pinning curves. These pinned curves will always be visible regardless of your selection in the tree view.

A transform tool and a retiming tool have been implemented (via a plugin) which is enabled by default. The transform tool allows you to do a marquee selection of keys and then translate and scale the positions of these keys. The retiming tool allows you to create a 1 dimensional lattice to adjust the timing of your keys with a linear falloff between each lattice point. These tools work across multiple views at the same time which is especially useful if you are representing one dimensional data (such as event keys) in a view, as it allows you to adjust this data at the same time as your animation curves. A smoothing filter has been implemented (via a plugin) to allow running highpass and lowpass filters on your keys.

Opening the curve editor in Sequencer/UMG now creates a separate dockable tab which can be resized and docked as desired. A time slider has been added to the Curve Editor which is synchronized to the playback time in Sequencer. This allows you to scrub time in the curve editor without having to find the Sequencer window and adjust time there while looking at your keys and previewing your animation in the viewport at the same time.

Rudimentary support has been added for saving and later restoring a set of curves in your current session. This allows you to do a rudimentary copy/paste of entire curves but can also be useful for saving a curve, making adjustments to it and then deciding you want to go back - simply reapply the saved curve! Each curve added supports an intention name (such as "Location.X" or "FieldOfView"), and these intention names will be used when trying to apply curves. This allows you to reliably take all of the curves of a transform on one object and apply them to another object (and ensure that Location.X gets applied to the new Location.X, etc.) this can be helpful if you have a mixed set of curves buffered (such as a location and a field of view). In the event that no curves match by intention you can store and apply a single curve at a time from any intention to any other intention.

The Curve Asset editors (float, vector and color curve assets) have been changed to use the new editor. They support the same treeviews, filtering and tools that the Sequencer editor does. In addition, the Color Curve asset editor adds an additional view which provides a 1 dimensional gradient editor as an easier way to visualize and edit colors instead of the channels individually.


#rb Max.Chen, Andrew.Rodham


#ROBOMERGE-SOURCE: CL 6631811 via CL 6633746
#ROBOMERGE-BOT: (vundefined-6620334)

[CL 6633863 by matt hoffman in Main branch]
2019-05-24 14:42:05 -04:00