Commit Graph

8007 Commits

Author SHA1 Message Date
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
bob tellez
f4b2fb53a2 #UE Replace another usage of TryFindTypeSlow with FindFirstObject since this code deals with struct names instead of full object paths
[FYI] robert.manuszewski

#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 20440828 via CL 20440937 via CL 20440995
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449454 by bob tellez in ue5-main branch]
2022-06-01 04:22:57 -04:00
simon orr
6c4e29aa7a Fix to null dereference when calculating memory stats.
#rb Evgenii.Babinets

#ROBOMERGE-AUTHOR: simon.orr
#ROBOMERGE-SOURCE: CL 20431038 via CL 20433869 via CL 20435498 via CL 20435573
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448503 by simon orr in ue5-main branch]
2022-06-01 03:47:15 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
peter tarasenko
a600000eb3 nDisplay: Fixed crash when the light card editor is open and user changes nDisplay Preview's "Viewports per frame"
#jira UE-153864
#rb Alejandro.Arango, Vitalii.Boiko
#preflight 6296aa693015892cc0734de5

[CL 20444807 by peter tarasenko in ue5-main branch]
2022-05-31 20:01:38 -04:00
Rob Gay
c6113e2388 From prior CL just broken out:
- Enable ability to lazy load type data for MetaSound PinType editor data
    - Utilize ability for Modulation types
- Remove Editor Frontend Class Metadata in favor of direct access from FrontendRegistry
#rb helen.yang
#jira UE-147220
#preflight 629699a988749bbb83add140

[CL 20444556 by Rob Gay in ue5-main branch]
2022-05-31 19:43:02 -04:00
Rob Gay
7ecfe9175e Fix for missing enum ensure through second missed ctor
#rnx
#jira UE-147220
#rb trivial
#preflight 629681bb5238916c514b3b97

[CL 20444298 by Rob Gay in ue5-main branch]
2022-05-31 19:10:07 -04:00
Rob Gay
b3b1847b7f MetaSound animated connection optimizations/minor improvements
- Don't copy point array, just add wrapped accessor for simple FloatWindow
- Move to drawing lines instead of a bunch of bubble images
- Add max number of draw segments
- Add cvars for tweaking
- Split out numeric & envelope thickness options
#rb helen.yang
#jira UE-153987
#rnx
#preflight 62967f0a9d75300f41bdb820

[CL 20444237 by Rob Gay in ue5-main branch]
2022-05-31 19:05:10 -04:00
Aaron McLeran
75d30b02e5 Fixing tooltip loctext namespace
#rb none
#jira none
#preflight none

[CL 20444203 by Aaron McLeran in ue5-main branch]
2022-05-31 19:00:48 -04:00
tyson brochu
178838db35 ContainmentTests: use full level set grid transform, not just translation
#jira UE-155269
#rb jimmy.andrews
#preflight 62967f5b9d75300f41bdee51

[CL 20444082 by tyson brochu in ue5-main branch]
2022-05-31 18:55:26 -04:00
Aaron McLeran
0c4b32c059 Changing display name of PitchShift node to "delay pitch shift"
#rb none
#jira none
#preflight none

[CL 20443100 by Aaron McLeran in ue5-main branch]
2022-05-31 17:50:00 -04:00
Aaron McLeran
ae9ca7c01f Grain Delay Node
- Fix for compressor for limiter case (removed unncessarily clamp on detector output)

#jira UE-150598
#rb Dan.Reynolds, Maxwell.Hayes, Jimmy.Smith
#preflight 6291227bbc1213abd7dc43bd

[CL 20442694 by Aaron McLeran in ue5-main branch]
2022-05-31 17:14:23 -04:00
Brandon Schaefer
e0ee2ad39c Fix undefined behaviour calling IsChildOf with a nullptr
#jira UE-154246
#rb none
#fyi Rob.Gay
#preflight none

[CL 20438245 by Brandon Schaefer in ue5-main branch]
2022-05-31 12:11:07 -04:00
Mieszko Zielinski
874965ac1a Mass: Added more visually informative flat processing graph logging, essentially describing processors' runtime dependencies.
#preflight 62963748e62c873b96cca4df

[CL 20438151 by Mieszko Zielinski in ue5-main branch]
2022-05-31 12:05:37 -04:00
josh adams
325c2bc02f - Updating CEF to v90 (in prep for getting M1 version checked in)
#rb alfred.reynolds
#preflight skip (too big for horde)

[CL 20435886 by josh adams in ue5-main branch]
2022-05-31 08:44:08 -04:00
mikko mononen
cd197fcb3e StateTree: refactored index types
- Changed FStateTreeHandle to FStateTreeStateHandle, used only for indexing states
- Added uint16 and uin8 index types, which can represent invalid index (aka INDEX_NONE)
- Changed indices that can be optional to the index types above
- Added validation and error loggic when index types overflow during compile
- Removed 2 indirections (in common case) and halved the memory usage of property copies

#jira none
#rb Mieszko.Zielinski
#preflight 6295d26e91004dd61ced370b

[CL 20434838 by mikko mononen in ue5-main branch]
2022-05-31 04:51:18 -04:00
Alejandro Arango
8565b40d2b nDisplay: Made the distance from flush a settable property of the light cards called "RadialOffset".
#rb
#jira
#preflight 629570b391004dd61ca8cc20

[CL 20433675 by Alejandro Arango in ue5-main branch]
2022-05-30 21:39:49 -04:00
tyson brochu
e78697a2c1 SetCollisionGeometryTool: add Mesh to Level Set / SDF conversion
#rb jimmy.andrews
#preflight 62952aa7e61254772f6b4b5e

[CL 20432875 by tyson brochu in ue5-main branch]
2022-05-30 16:48:48 -04:00
Alejandro Arango
14bb250d32 ColorCorrectRegions: Added billboard.
Used a slightly modified version of the place actor icon for now.

Also updated a couple of raw pointers to TObjectPtr in nDisplay Light Card Actor.

#rb
#jira
#preflight 629477b57149e31ace60bea9

[CL 20429103 by Alejandro Arango in ue5-main branch]
2022-05-30 03:57:59 -04:00
Charles deRousiers
1ef941549d Fix CIS issue.
#rb none
#jira UE-154054
#preflight skip

[CL 20428989 by Charles deRousiers in ue5-main branch]
2022-05-30 03:28:45 -04:00
Alejandro Arango
6919f80d49 nDisplay: Added Gain to light card parameters. Exposure is 2^n while Gain a is linear multiplier to RGB.
#rb
#jira UE-132458
#preflight 6294405e7149e31ace3c7ccd

[CL 20428487 by Alejandro Arango in ue5-main branch]
2022-05-30 00:00:25 -04:00
Alejandro Arango
95bcd39416 nDisplay: Added alpha gradient with angle and start/end values to light cards.
#rb
#jira UE-154142
#preflight 629360f13d25c726e801c96e

[CL 20424987 by Alejandro Arango in ue5-main branch]
2022-05-29 08:18:00 -04:00
Alejandro Arango
0403ed5ac5 nDisplay: Added Tint and Temperature to light cards.
#rb
#jira UE-152636
#preflight

[CL 20424853 by Alejandro Arango in ue5-main branch]
2022-05-29 04:57:40 -04:00
anna lantz
f01df4a3ab Fix for generator nodes behaving incorrectly when given negative frequencies
#jira UE-152354
#rb phil.popp
#preflight 62853718614041edb79f8bb0
#p4v-cherrypick 20265411
#preflight 628eceb7a3384b0a96b92c64

#ROBOMERGE-AUTHOR: anna.lantz
#ROBOMERGE-SOURCE: CL 20404406 in //UE5/Release-5.0/... via CL 20406514
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20406985 by anna lantz in ue5-main branch]
2022-05-28 07:36:47 -04:00
Alejandro Arango
965d22aec4 nDisplay: Added some support for feathering when using custom polygon light cards.
The current method is erosion followed by blur of the inverted alpha.

#rb
#jira
#preflight 6291f2c2db0a62f25c013e08

[CL 20405864 by Alejandro Arango in ue5-main branch]
2022-05-28 06:13:55 -04:00