Commit Graph

1075 Commits

Author SHA1 Message Date
frank fella
93da4f3c70 Property Editor - Update the IDetailTreeNode to expose initial expansion information which can be set through customizations so that uses of the property row generator can access that data consistently.
#rb lauren.barnes

#ROBOMERGE-AUTHOR: frank.fella
#ROBOMERGE-SOURCE: CL 18423580 in //UE5/Release-5.0/... via CL 18423606
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18423632 by frank fella in ue5-release-engine-test branch]
2021-12-09 15:12:40 -05:00
matija kecman
4373d015fd Report EditCondition errors to the Output Log
#rb sebastian.nordgren
#rnx
#preflight 61af4d2d353890ce23ef5360

#ROBOMERGE-AUTHOR: matija.kecman
#ROBOMERGE-SOURCE: CL 18393881 in //UE5/Release-5.0/... via CL 18393892
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18393895 by matija kecman in ue5-release-engine-test branch]
2021-12-07 07:31:28 -05:00
jamie dale
e3da028dc7 Fixed InvalidateCachedState not being called when editing structs
It was specifically looking for an object parent rather than a complex parent, which meant it skipped invalidating the cache when editing a struct (including a nested external struct) rather than an object.

#jira
#preflight skip
#rb Sebastian.Nordgren
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18340184 via CL 18342197 via CL 18342218 via CL 18342239 via CL 18342503 via CL 18342517
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18342528 by jamie dale in ue5-release-engine-test branch]
2021-12-01 14:05:13 -05:00
jamie dale
bb2eb686ca Fixed a crash when pasting into an array on class sparse data
This would try and get the value of the outer array property (for the inner array value) using FObjectBaseAddress::ObjectOrStruct as the start address, however for class sparse data FObjectBaseAddress::ObjectOrStruct was set to the CDO of the class that owns the sparse data, rather than the start of the sparse data itself. This resulted in a crash as it would try and read garbage from the CDO.

This change removes FObjectBaseAddress::ObjectOrStruct and FObjectBaseAddress::bIsStruct, in favor of storing FObjectBaseAddress::Object (if not editing a struct) and FObjectBaseAddress::StructAddress. FObjectBaseAddress::StructAddress always points to the thing that actually contains FObjectBaseAddress::BaseAddress, which allows the ImportText code to get the correct offset for the array property within the sparse data instance.

#jira
#rb Sebastian.Nordgren
#preflight 61a59b104f5d65edc3a8564b
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18326295 via CL 18328452 via CL 18328534 via CL 18328607 via CL 18330452 via CL 18330516
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18330630 by jamie dale in ue5-release-engine-test branch]
2021-11-30 15:35:13 -05:00
aditya ravichandran
d479887ea2 Details Panel Name Area: Fix button padding/spacing issues
#jira UE-135047
#rb lauren.barnes
#preflight 619e9af488439fccfea98818

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18287944 in //UE5/Release-5.0/... via CL 18287963
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18288003 by aditya ravichandran in ue5-release-engine-test branch]
2021-11-24 15:45:32 -05:00
sebastian nordgren
17c90fd2d0 Fixed crash when using a TitleProperty that references an invalid property name.
#jira UE-135718
[at]nick.darnell

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18283600 in //UE5/Release-5.0/... via CL 18283635
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18283669 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-24 09:59:45 -05:00
aditya ravichandran
24e1aa9bdd Change the Property Matrix's pin icons to not blink, and also update them to the new icons
#jira UE-135050
#rb lauren.barnes
#preflight 619bb4ad974d7d57266e54b6

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18262641 in //UE5/Release-5.0/... via CL 18262685
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18262719 by aditya ravichandran in ue5-release-engine-test branch]
2021-11-22 15:55:34 -05:00
ben hoffman
ce1beeeaed Revert part of 18198783. Do not set all property editor bools to be on an interactive change
#jira UE-64828
#rb trivial

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18258689 in //UE5/Release-5.0/... via CL 18258725
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18258739 by ben hoffman in ue5-release-engine-test branch]
2021-11-22 10:26:26 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
daren cheng
b9610d8eca Add FPropertyHandleColor to support copy / paste between different color types.
#jira UETOOL-4586
#rb sebastian.nordgren
#preflight 619521439f7a6462e05b64e9

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18229602 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[bot1]: Main

[CL 18229649 by daren cheng in ue5-release-engine-test branch]
2021-11-17 17:04:14 -05:00
daren cheng
964660c36d Add shift click copy / paste to details panel
#jira UE-134754
#rb sebastian.nordgren
#preflight 61952207b32bbfdc5007c419

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18229597 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 18229644 by daren cheng in ue5-release-engine-test branch]
2021-11-17 17:03:59 -05:00
jeremie roy
92747ca450 Fix crash caused by dereferencing nullptr when displaying a detail property row with an external root node using a property row generator
#jira UE-134126
#rb simon.therriault sebastian.nordgren

#ROBOMERGE-AUTHOR: jeremie.roy
#ROBOMERGE-SOURCE: CL 18223217 in //UE5/Release-5.0/... via CL 18223245
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18223259 by jeremie roy in ue5-release-engine-test branch]
2021-11-17 09:51:59 -05:00
sebastian nordgren
72216a61d9 Fixed crash when neither a result nor an error is set in the expression parser result when evaluating edit conditions.
#jira UE-134260
#rb paul.chipchase

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18132435 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)

[CL 18133182 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-10 13:00:13 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
sebastian nordgren
ed06ce7a48 Added missing copyright boilerplate.
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18018678 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18018963 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-02 10:35:46 -04:00
sebastian nordgren
8890867a8a Moved FDetailColumnSizeData to its own file.
#rb paul.chipchase
#preflight 617c0f47c44dc500016a989d

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18017897 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18017953 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-02 09:25:24 -04:00
sebastian nordgren
926e5fe8bb Added support for parentheses in EditConditions. Added as a result of a UDN feature request.
[at]lauren.barnes

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18017850 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18017926 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-02 09:24:19 -04:00
lonnie li
a4e5cdcfd6 PropertyEditor: Add ValidEnumValues metadata support to BitmaskEnum properties
#rb michael.balzer
#rnx
#jira none
#preflight 617ab6165794a500013d8124

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 18001553 in //UE5/Release-5.0/... via CL 18001566
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18001577 by lonnie li in ue5-release-engine-test branch]
2021-11-01 10:08:27 -04:00
michael balzer
5fe14fd7d9 Add ValidEnumValues to PropertyMetadata enums (this does NOT introduce a new property metadata specifier, but rather just increase its visibility)
#rb trivial
#preflight 6179c8450fb8310001be2441
#rnx none

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17955798 in //UE5/Release-5.0/... via CL 17955807
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17955810 by michael balzer in ue5-release-engine-test branch]
2021-10-27 20:37:36 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
sebastian nordgren
8f540f36e9 Spacing changes to section selector - left and right reduced to 8, inter-section spacing now 4 both vertically and horizontally.
#rb trivial

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17721663 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17721679 by sebastian nordgren in ue5-release-engine-test branch]
2021-10-05 10:54:26 -04:00
sebastian nordgren
899e16bc3e Changed FPropertyNode::GetChildNode(FName) to breadth-first search instead of depth-first, which lead to these types of situations:
class UFoo
{
   struct Bar { int X; } Bar;
   int X;
}

Returning Bar.X instead of just X when searching for "X", because we were iterating into the struct's children before our own.

This entire behaviour is a bit questionable since it doesn't use property paths, and is presumably in place to deal with groups and not structs, but I'm not comfortable making that change without further testing.

#jira UE-126704
[at]matt.kuhlenschmidt, [at]mikko.mononen

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17721178 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17721189 by sebastian nordgren in ue5-release-engine-test branch]
2021-10-05 10:17:20 -04:00
sebastian nordgren
e99ee26673 Added ensure in GetDefaultValueAsString() to check that default value does not differ per-object (it really shouldn't) in FPropertyNode. If all values are the same, we return only the single default value, but if they differ we'll fallback to the previous behaviour.
This ensure is intended to check if we can simplify the logic here to just return the first object's default value in the near future.

#jira UE-81958
[at]matt.kuhlenschmidt

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17721129 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17721138 by sebastian nordgren in ue5-release-engine-test branch]
2021-10-05 10:14:42 -04:00
sebastian nordgren
781aa3e011 The details Section API has been rewritten. Categories can now be part of multiple sections simultaneously. This solves the situation of wanting eg. Materials to be in both the General (because it's a very common property to manipulate for meshes) and the Rendering (because it affects rendering) sections.
Sections are now sorted correctly - General and All are special-cased to be the first and last categories respectively, the rest are alphabetically sorted.
#preflight 615b13e1b3702500016676aa

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17708850 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)

[CL 17708864 by sebastian nordgren in ue5-release-engine-test branch]
2021-10-04 11:50:58 -04:00