Commit Graph

144 Commits

Author SHA1 Message Date
daren cheng
36cbbda965 Fix checkbox style on editor utility widgets.
#jira UE-117887
#rb Vincent.Gauthier
#preflight 6148f759315f54000134958f

[CL 17576768 by daren cheng in ue5-main branch]
2021-09-20 18:38:24 -04:00
daren cheng
8eb00440df Reskin UMG Default Styles for Starship
#jira UETOOL-2218
#rb Matt.Kuhlenschmidt, Lauren.Barnes, Patrick.Boutot
#preflight 609ec7a14a67ba0001ef4dcc

[CL 16335619 by daren cheng in ue5-main branch]
2021-05-14 16:44:24 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -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
robert manuszewski
b7568cc694 Fix for UE-90683: You can no longer delete conflicting variables
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.

#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12191300 by robert manuszewski in Main branch]
2020-03-15 10:33:45 -04:00
josh gross
871052a863 Wiget::SetUserFocus: If we're able to set focus immediately, cancel any focus request that's waiting to be processed in the LocalPlayer's SlateOperations.
#rb [at]Dan.Hertzka



#ROBOMERGE-SOURCE: CL 11294962 via CL 11294963 via CL 11296120 via CL 11296175
#ROBOMERGE-BOT: (v647-11244347)

[CL 11296220 by josh gross in Main branch]
2020-02-07 16:36:51 -05:00
luciano ferraro
1362de6cfe Avoid warning when removing widgets from parent that have no slate parent either
[REVIEW] [at]Dan.Hertzka


#ROBOMERGE-SOURCE: CL 11196820 via CL 11196829 via CL 11196831
#ROBOMERGE-BOT: (v640-11091645)

[CL 11196834 by luciano ferraro in Main branch]
2020-01-31 12:17:58 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
jeanmichel dignard
2ce7666d2d Copying //UE4/Dev-Core [at] 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 10708666 in //UE4/Main/...
#ROBOMERGE-BOT: TOOLS (Main -> Dev-Tools-Staging) (v626-10872990)

[CL 10898071 by jeanmichel dignard in Dev-Tools-Staging branch]
2020-01-07 15:54:23 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
dan hertzka
b9b180eeff Accounting for a (major) missed spot when initially updating the varios places UWidget passes a UserIndex to FSlateApplication - the processing of the FReply that lives on the LocalPlayer itself
- Now, if ever the fallback case of UWidget::SetFocus() is hit, for example, the desired focus target will be updated for the correct SlateUser that corresponds to the LocalPlayer
- Also updating UWidget's uses of GetUserIndexForController() to the new signature that accounts for the possibility of a player not yet having a valid SlateUser index

#rb [at]Donal.MacCarthy
[REVIEW] [at]Nick.Darnell, [at]Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 10614852 via CL 10614856 via CL 10614859 via CL 10614861 via CL 10614863
#ROBOMERGE-BOT: (v608-10590470)

[CL 10614864 by dan hertzka in Main branch]
2019-12-09 14:50:46 -05:00
josh gross
c30bf16381 Changes in Slate Controller-User mapping:
- AnalogCursor: Renamed GetUserControllerId to GetOwnerUserIndex (either way, children are responsible for returning something other than 0)
- UWidget: Run ControllerId through SlateApplication::GetUserIndexForController before using it as a user index. In the default implementation of ISlateInputManager, this will always be the same number, but engine users can override the controllerid-slateId mapping
- SlateApplication: don't handle controller input if mapping doesn't return a value. The default mapping is unaffected because it simply returns the given ControllerId; this gives specialized mappings more control.
- SlateApplication: Pass more information to ISlateInputManager when mapping controller input to slate user. The default mapping's behavior is unaffected.

#rb [at]Dan.Hertzka


#ROBOMERGE-SOURCE: CL 10502872 via CL 10502884 via CL 10502891 via CL 10502899
#ROBOMERGE-BOT: (v606-10482310)

[CL 10502902 by josh gross in Main branch]
2019-12-03 18:11:27 -05:00
donal maccarthy
52aa150327 When a widget isn't focusable, deduce whether it's a UserWidget before suggesting doing something UserWidget-y to it. Also improve the message in the Message Log by adding a clickable class name to the message.
Removed an unnecessary conversion to PlayerContext when Setting User Focus on a widget


#ROBOMERGE-SOURCE: CL 10467677 via CL 10467689 via CL 10467696
#ROBOMERGE-BOT: (v595-10452236)

[CL 10467700 by donal maccarthy in Main branch]
2019-11-27 08:57:03 -05:00
SaltyPandaStudios
7784752502 PR #6363: Include name of widget in the log when trying to focus non-focusable widget (Contributed by SaltyPandaStudios)
#rb vincent.gauthier
#jira UE-84434

[CL 10219849 by Vincent Gauthier in Dev-Editor branch]
2019-11-14 15:05:16 -05:00
josh gross
9b1282e48d Adding a helper function to UWidget: SetFocus. Simply calls SetUserFocus(GetOwningPlayer).
#rb [at]Dan.Hertzka


#ROBOMERGE-SOURCE: CL 9548624 via CL 9548625
#ROBOMERGE-BOT: (v521-9539702)

[CL 9548626 by josh gross in Main branch]
2019-10-11 11:31:34 -04:00
jason stasik
7ca69d839c Move UMG accessibility properties to a separate UObject in order to reduce memory footprint when using default values.
#jira UE-79492
#rb matt.kuhlenschmidt


#ROBOMERGE-SOURCE: CL 8362951 via CL 8365361
#ROBOMERGE-BOT: (v402-8361577)

[CL 8365518 by jason stasik in Main branch]
2019-08-28 16:38:44 -04:00
marc audy
c48ebb4d45 Make virtual UObject::Modify WITH_EDITOR. UObject::Modify remains defined as a forceinlined noop without editor to avoid having to fixup all existing code that exists in non-editor that calls Modify.
#rb Michael.Noland
#jira


#ROBOMERGE-SOURCE: CL 8293866 via CL 8353802
#ROBOMERGE-BOT: (v401-8057353)

[CL 8354009 by marc audy in Main branch]
2019-08-27 17:20:03 -04:00
nick darnell
a8dec03ac3 SWidget - Adding Slate.EnsureAllVisibleWidgetsPaint, it's off by default, but can be turned on to find cases where users are earlying out drawing a child that's visible along their paint path. When we're on the Fast drawing path, ALL children must be drawn otherwise their cached draw elements don't get cleared. Enabling this mode vets that after each widget paints all of its visible children painted.
Matt.Kuhlenschmidt


#ROBOMERGE-SOURCE: CL 7649814 via CL 7649819 via CL 7652751
#ROBOMERGE-BOT: (v372-7473910)

[CL 7652978 by nick darnell in Main branch]
2019-07-29 17:10:19 -04:00
nick darnell
05c35f3c30 Several widgets were running NativeDestruct code after reinstancing from blueprint compiles, turns out the enum flags for the designer won't serialize if they're flags and resolve to more than one enum value, so instead the enum flags are now stored as a uint8 to make UObject serializer happy, but as far as the outside world is concerned, they are UENUMs, and I've converted them over to be enum class instead of the older style namespace::type method, this allows the values to properly persist after reinstancing.
[CODEREVIEW] Vincent.Gauthier, Dan.Hertzka


#ROBOMERGE-SOURCE: CL 7321751 via CL 7321754 via CL 7323258
#ROBOMERGE-BOT: (v371-7306989)

[CL 7323391 by nick darnell in Main branch]
2019-07-16 11:51:11 -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
luciano ferraro
cd4ac4845e Deprecated SetNavigationRule, added three new methods (SetNavigationRuleBase, SetNavigationRuleExplicit, SetNavigationRuleCustom, SetNavigationRuleCustomBoundary) to handle all the possible cases.
#rb Nick.Darnell
#jira UE-50270


#ROBOMERGE-SOURCE: CL 6990217 via CL 6990355 via CL 7019776
#ROBOMERGE-BOT: (v367-6836689)

[CL 7019863 by luciano ferraro in Main branch]
2019-06-14 19:29:04 -04:00