Commit Graph

1250 Commits

Author SHA1 Message Date
thomas tedemalm
dc26026706 [PCG] Fixed static analysis issue in pcg editor graph, Dereferencing NULL pointer 'OutboundNode'
#rb julien.lheureux, huw.bowles, wyatt.marvil
#jira UE-195411
#rnx

[CL 27885146 by thomas tedemalm in ue5-main branch]
2023-09-14 13:15:54 -04:00
adrien logut
e151a4ab86 [PCG] Add support for Indexes for Attribute Sets
#rnx
#rb julien.lheureux, thomas.tedemalm, wyatt.marvil

[CL 27881881 by adrien logut in ue5-main branch]
2023-09-14 12:10:53 -04:00
julien lheureux
5ff1378408 Fixed the serialize-on-cook code path and added world actor merging with some caveats
#rb adrien.logut, huw.bowles
[FYI] jimmy.gass

[CL 27878474 by julien lheureux in ue5-main branch]
2023-09-14 10:32:32 -04:00
ocea ellis
5226c8c673 CreatePoints: Reduced the cost of target calls, added ShouldComputeFullOutputDataCrc() for performance
#rb adrien.logut, huw.bowles, julien.lheureux
#jira UE-193986

[CL 27877647 by ocea ellis in ue5-main branch]
2023-09-14 10:06:24 -04:00
thomas tedemalm
7e105659ed [PCG] Disabled reset arrow for pcg components generated and dirty properties that are intended for visibility only
#rb huw.bowles, julien.lheureux, wyatt.marvill
#jira UE-195254

[CL 27870379 by thomas tedemalm in ue5-main branch]
2023-09-14 03:08:25 -04:00
thomas tedemalm
62fc64df9f [PCG] Fixed an issue where clear pcg link would parent the stamp actor under the original actor
#rb julien.lheureux
#rnx

[CL 27834675 by thomas tedemalm in ue5-main branch]
2023-09-13 12:03:39 -04:00
julien lheureux
37cbf7d0c0 Fixed landscape transform retrieval at runtime which led to invalid queries into the landscape cache
#rb adrien.logut, huw.bowles, thomas.tedemalm, wyatt.marvil

[CL 27830550 by julien lheureux in ue5-main branch]
2023-09-13 10:28:22 -04:00
adrien logut
04d1bdc606 [PCG] Make Metadata nodes to passthrough the input if the other operands are empty (either no data or point data with no points)
#rnx
#jira UE-195063
#rb ryan.buehler, julien.lheureux
[FYI] antoine.guilbaud

[CL 27816805 by adrien logut in ue5-main branch]
2023-09-12 20:12:16 -04:00
adrien logut
79d5412d55 [PCG] Fix and add unit tests for Get Actor Property
* Properties need to be visible to be extracted
* Extend validation method to support multiple values and attributes
* Add test for struct/object extract and arrays

#rnx
#rb julien.lheureux, huw.bowles, ryan.buehler

[CL 27814817 by adrien logut in ue5-main branch]
2023-09-12 19:03:02 -04:00
ocea ellis
19c70ebb15 Tentative fix for Non-unity Build
#rb julien.lheureux

[CL 27791526 by ocea ellis in ue5-main branch]
2023-09-12 10:40:32 -04:00
ocea ellis
ebd1cdab85 [PCG] Adds a node that creates point data
--Added Basic UnitTest

#rb adrien.logut, huw.bowles, julien.lheureux
#jira UE-193986

[CL 27790638 by ocea ellis in ue5-main branch]
2023-09-12 10:13:28 -04:00
huw bowles
a26217c655 [PCG] Fixes and improvements handling corrupt graphs.
Log errors in more cases and remove edges to non-existent nodes which was hit on one of the projects.

#rb julien.lheureux, adrien.logut, thomas.tedemalm, ryan.buehler, wyatt.marvil
#rnx

[CL 27784788 by huw bowles in ue5-main branch]
2023-09-12 04:07:27 -04:00
adrien logut
91597c64f2 [PCG] Fix localization issues
#rnx
#rb trivial
#jira UE-195030

[CL 27754400 by adrien logut in ue5-main branch]
2023-09-11 11:04:50 -04:00
huw bowles
0b9617d394 [PCG] Fix uinitialized variable warning
#jira UE-195035
#rb thomas.tedemalm

[CL 27753882 by huw bowles in ue5-main branch]
2023-09-11 10:54:07 -04:00
huw bowles
d23f2378d5 [PCG] Fix compile error on some platforms
#rb trivial
#rnx

[CL 27749184 by huw bowles in ue5-main branch]
2023-09-11 06:50:19 -04:00
huw bowles
6faa026656 [PCG] Soft object path and soft class path added as new metadata types.
Previously this was emulated somewhat by storing the paths as FStrings but this did not result in proper references that are visible to the cook.

Notes:
* Producers/consumers of asset references moved to the new types.
* Broadcast to string enabled to allow string operations on paths.
* Broadcast from string always allowed when getting values, so that legacy usages which grabbed path as string will continue to work.
* Deprecation added to migrate old path handling (string mode).
* Serialize method added to traits because FSoftObjectPath can't be directly serialized to archive.
* Fixed some project-specific static casting to FString that coudl fail when applied to SOP/SCP attributes.

#rb adrien.logut, julien.lheureux, ryan.buehler
#rnx
#jira UE-192394

[CL 27749069 by huw bowles in ue5-main branch]
2023-09-11 06:38:20 -04:00
thomas tedemalm
b69907eb31 [PCG] Fixed issue were cleaning a component would generate a world actor. We now avoid doing a cleanup if the component is not generated yet
#rb adrien.logut, julien.lheureux
#jira UE-194419

[CL 27747142 by thomas tedemalm in ue5-main branch]
2023-09-11 03:14:09 -04:00
brandon dawson
18c32057cd Allow for specifying the landscape cache output data when cooked. Options allow for removing layer data and/or position data.
[CL 27728448 by brandon dawson in ue5-main branch]
2023-09-08 17:05:52 -04:00
adrien logut
d5b39370a2 [PCG] Enable Arrays and Arrays of Structs in Get Actor Property node
* It is limited to Arrays of basic types, or arrays of structs of basic types. Arays of arrays, arrays in structs are not supported.
* Also add a new node to get the number of entries in an attribute set
* Since we support arrays now, make Get Number of Points support multiple inputs.

#rb julien.lheureux
#jira UE-194579, UE-194578
[FYI] antoine.guilbaud, jeansebastien.guay

[CL 27722618 by adrien logut in ue5-main branch]
2023-09-08 15:07:00 -04:00
julien lheureux
90a5c811b7 Added more of the properties to be overridable on the Create Spline node
#rb antoine.guilbaud

[CL 27720611 by julien lheureux in ue5-main branch]
2023-09-08 14:30:39 -04:00
adrien logut
1b37477012 [PCG] Tentative fix for Editor test, testing PCG volume factory
* Can't repro locally and seems to be random. Add more checks to be sure to not use null pointers.
* Ran the preflight until the faulty job, failed but not on this test.

#rnx
#rb trivial
#jira UE-194566

[CL 27693956 by adrien logut in ue5-main branch]
2023-09-07 18:51:09 -04:00
ryan buehler
550a22919d [PCG] Updated the tooltip in the Point Filter element for bUseSpatialQuery to be a little more clear.
#rnx
#rb adrien.logut, huw.bowles, julien.lheureux, thomas.tedemalm

[CL 27693892 by ryan buehler in ue5-main branch]
2023-09-07 18:50:17 -04:00
adrien logut
8f08b99515 [PCG] Fix issue where resetting the graph was not cleaning the parameters
#rnx
#rb julien.lheureux
#jira UE-194827

[CL 27693758 by adrien logut in ue5-main branch]
2023-09-07 18:47:01 -04:00
thomas tedemalm
9534048b79 [PCG] Moved attribute list view sorting and filtering to separate thread in order to not freeze the editor on large data sets
#rb huw.bowles, julien.lheureux, adrien.logut, ryan.buehler
#jira UE-193774

[CL 27669898 by thomas tedemalm in ue5-main branch]
2023-09-07 08:29:14 -04:00
henrik karlsson
0db2ba72f4 [PCG]
* PCGGraphParameterExtension.cpp - Removed #pragma once

[CL 27666291 by henrik karlsson in ue5-main branch]
2023-09-07 03:42:31 -04:00