Michael Noland
c8662fa435
Editor: Added responsive crushing of the XYZ labels and margin in property editor vector/rotator rows, allowing them to be editable at much lower widths
...
[CL 2620995 by Michael Noland in Main branch]
2015-07-14 17:48:50 -04:00
Matt Kuhlenschmidt
15154d1468
Added missing files
...
[CL 2620860 by Matt Kuhlenschmidt in Main branch]
2015-07-14 16:33:27 -04:00
Matt Kuhlenschmidt
5d44808402
Added a safe way to delete a dynamic slate brush that may be in use. Fixed up use cases of unsafe deletion
...
Fixes https://jira.ol.epicgames.net/browse/UE-18531
[CL 2620698 by Matt Kuhlenschmidt in Main branch]
2015-07-14 15:36:51 -04:00
Nick Darnell
ebb2a6e41a
Slate - Custom Draw elements no longer are attempted to be early clipped using the known scissor rect before going through the element batcher, since their clip rect info isn't valid we just ignore doing this step for those elements.
...
#codereview nick.atamas
[CL 2620457 by Nick Darnell in Main branch]
2015-07-14 13:43:48 -04:00
Steve Robb
72dec33d8f
ensureOnce is now ensure.
...
ensure is now ensureAlways.
Redundant ensureMsg removed and replaced with ensureMsgf.
'debug ensureAlways' command added.
#codereview robert.manuszewski
#platformnotify josh.adams
[CL 2616422 by Steve Robb in Main branch]
2015-07-10 05:31:32 -04:00
Nick Darnell
3a0214070f
Slate/UMG - Continuing to work on the Invalidation Panel, correctly offsetting volatile widgets to render from the true last hit testable index that their potentinally cached parent used. Also introducing a way to cache transforms relative to the parent so that widgets that fly around the screen but otherwise don't change shape...etc can be cached.
...
[CL 2615587 by Nick Darnell in Main branch]
2015-07-09 15:28:24 -04:00
Matthew Griffin
d9dacaa8b6
Fixed non-unity build error
...
[CL 2613458 by Matthew Griffin in Main branch]
2015-07-08 09:42:33 -04:00
Nick Darnell
35045ac11f
UMG - Continuing to work on the invalidation panel, there's now a caching mechanism it uses to allow aspects of the hit testing to be recreated every frame. Additionally, started working on a test suite for it in the Slate Viewer. A simple proof of concept of invalidating a hit testable control can be seen on button.
...
#codereview nick.atamas, matt.Kuhlenschmidt, justin.Sargent
[CL 2612788 by Nick Darnell in Main branch]
2015-07-07 15:50:03 -04:00
Andrew Brown
77cba25d7e
[INTEGRATE] merge ue4<-ue4-launcherDev cl 2612250
...
[CL 2612251 by Andrew Brown in Main branch]
2015-07-07 09:30:28 -04:00
Nick Darnell
5d1f0e28f3
UMG/Slate - Initial version of SInvalidationPanel! Has several limitations, but permits UMG and Slate to effectively "Freeze" UI, caching a great deal of the processing, computation...etc required every time slate paints. Cached widgets do not get prepass, tick, or paint until their parent SInvalidationPanel is invalidated. Widgets that change often, can be marked as Volatile and get treated special when used in conjunction with the SInvalidationPanel, they get stored seperately and get prepass/tick/paint like normal, but using the cached geometry of their container they origionally were computed to have. Changes to their desired size will not change the invalidation of the rest of the panel, a manual invocation would be required for that.
...
When used effectively the SInvalidationPanel can shave milliseconds off your Slate time on a complicated hierarchy of widgets. Provided those widgets don't need hit testing or input, this can be a very useful widget to use. Scenarios like a HUD are the primary target of this panel, future advances will hopefully make it possible to be used in conjunction with a UI that needs input.
#codereview matt.kuhlenschmidt, nick.atamas
[CL 2609569 by Nick Darnell in Main branch]
2015-07-02 15:32:02 -04:00
Keli Hlodversson
8d353a5b02
[INTEGRATE] Merging CL#2604183 using UE4-To-UE4-LauncherDev:
...
Allow using the native mouse cursor handle from CEF.
JIRA: OPP-3734
rb: Justin.Sargent
#platformnotify Josh.Adams
[CL 2605865 by Keli Hlodversson in Main branch]
2015-06-30 11:54:52 -04:00
Nick Darnell
d0a3b00ee1
Slate - Fixing the standalone slate renderers, that still need the vertex colors to come down in linear space.
...
[CL 2603271 by Nick Darnell in Main branch]
2015-06-27 11:33:06 -04:00
Nick Darnell
cffa1f3715
Slate - Fixing a problem with Slate quantizing the lower range of black colors. When we send linear colors down to the GPU we were first converting to byte linear space, in byte linear space several sRGB values all become quantized under a single number. To avoid this problem, without increasing our vertex buffer size, we're now converting the Tint to sRGB Byte Space, then in the vertex shader convert the Tint back into Linear Space. This adds a little more computation to both the GPU and CPU.
...
[CL 2600938 by Nick Darnell in Main branch]
2015-06-25 14:07:45 -04:00
Dmitriy Dyomin
c0bf9f06dd
Custom UV region for FSlateBrush. When valid - slate will use brush UV instead of UV specified in resource proxy.
...
Slate resource manager accepts UTexture2Dynamic as a resource.
#codereview matt.kuhlenschmidt
[CL 2599980 by Dmitriy Dyomin in Main branch]
2015-06-24 22:23:06 -04:00
Keith Judge
2299c554b5
Fixed signed/unsigned mismatch warning.
...
[CL 2598648 by Keith Judge in Main branch]
2015-06-24 05:41:32 -04:00
Nick Darnell
7a536c6ac9
UMG/Slate - The STooltipPresenter now calculates a post transformed, rounded layout position to ensure that tooltips do not start on a half pixel. This reduces a lot of the inner jittering of a tooltip as you move your mouse across the surface of a widget.
...
[CL 2598073 by Nick Darnell in Main branch]
2015-06-23 18:27:19 -04:00
Matt Kuhlenschmidt
7f518bc81e
Removed usage of disabled button style which has invalid art work
...
[CL 2597833 by Matt Kuhlenschmidt in Main branch]
2015-06-23 16:44:41 -04:00
Matt Kuhlenschmidt
6138d7fd64
Work around not having the new version of freetype on some platforms yet
...
[CL 2597730 by Matt Kuhlenschmidt in Main branch]
2015-06-23 15:55:15 -04:00
Nick Darnell
d17191a3a7
UMG - Fixing a bug where the modifier keys and additional base class data were never passed to new copies for mouse pointer events. Only affected UMG and not Slate, as the VM makes copies of the struct.
...
[CL 2597708 by Nick Darnell in Main branch]
2015-06-23 15:47:43 -04:00
Matt Kuhlenschmidt
2c707bde6c
Upgraded freetype to 2.6. Works only for windows at this time
...
[CL 2597177 by Matt Kuhlenschmidt in Main branch]
2015-06-23 11:27:08 -04:00
Fred Kimberley
21ff67e268
Merging using UE4-Fortnite-To-UE4
...
Integration from CL 2589598.
[CL 2596395 by Fred Kimberley in Main branch]
2015-06-22 20:28:51 -04:00
Matt Kuhlenschmidt
9f83927366
Added a UI material domain for all Slate and UMG materials
...
- Automatically upgraded all materials
When using the UI material domain the material editor and material instance editor is streamlined and only displays parts of the UI that are relevant:
- Changes to a preview material rendered with the UI shader
- Removes non-UI specific settings
- Renames some output pins and hides irrelevant ones
- Shows stats for UI shader
[CL 2596027 by Matt Kuhlenschmidt in Main branch]
2015-06-22 15:55:50 -04:00
Nick Darnell
d287c6143f
More Gamma Correction - Didn't catch this on the previous pass, apparently there was an implicit constructor allowing FLinearColor to FColor that was doing pow(2.2) gamma conversion inversion. Rather than leave the implicit constructor, I'm making it private and making people use ToFColor(true). Which is slightly more expensive, but performs the proper sRGB conversion. While fixing this, I found several terrible uses of the implicit constructor, when Hashing FLinearColors we were converting them to FColors first, when clearing FCanvas we were manually gamma correcting but leaving it as an FLinearColor, then implicitly converting to FColor, double gamma corrrecting. Neither of which should even be required as the RHI Clear command expects an FLinearColor. Additionally fixing a myriad of Slate widgets that were all doing FColor conversions needlessly only to convert back to FLinearColor when queuing slate draw commands.
...
#codereview nick.penwarden, martin.mittring, andrew.brown, gareth.martin
[CL 2593605 by Nick Darnell in Main branch]
2015-06-19 11:17:11 -04:00
Dmitry Rekman
93818641c7
SlateFileDialogs: updated from 6/17 code drop.
...
- Uses separate style and not Core.
- A new button to create the directory.
#codereview Nick.Atamas, Matthew.Lewis, Josh.Adams
[CL 2592945 by Dmitry Rekman in Main branch]
2015-06-18 19:27:23 -04:00
Nick Whiting
ce254ec6c7
#oculus Integrating fixes from Oculus/UE4Pure
...
- VR devices now update when paused
- OpenGL fixes for custom present
- Misc. Oculus integration fixes
[CL 2592209 by Nick Whiting in Main branch]
2015-06-18 13:23:31 -04:00