Commit Graph

66 Commits

Author SHA1 Message Date
richard talbotwatkin
c0ef3053d2 Deprecated direct access to UStaticMesh::SourceModels, SectionInfoMap and OriginalSectionInfoMap.
Added new accessors for getting individual SourceModels, or the entire array.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 7668562 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v372-7473910)

[CL 7668565 by richard talbotwatkin in Main branch]
2019-07-31 03:40:45 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
alexis matte
6f2a9f6869 Fix LOD Material assignment error when reimporting staticmesh and there is some LODs that are generated and the order of the SectionInfoMap is changed by old re-import.
#rb none


#ROBOMERGE-SOURCE: CL 5351520 via CL 5351521 via CL 5354156

[CL 5354233 by alexis matte in Main branch]
2019-03-08 18:34:18 -05:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00
Arne Schober
b4186ca23a Strip Additional IndexBuffers from resources when not in use, which should save about 1MB when used on mobile.
#RB marcus.Wassmer
#JIRA 0

#ROBOMERGE-SOURCE: CL 5053015 in //Fortnite/Release-8.00/...

[CL 5063923 by Arne Schober in Main branch]
2019-02-19 12:17:54 -05:00
Alexis Matte
1266f4fbb0 Fix reduce SectionInfoMap not set like the reloaded section info map
#jira UE-69650
#rb none

[CL 5010776 by Alexis Matte in Dev-Editor branch]
2019-02-15 14:13:53 -05:00
Chris Gagnon
1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00
Thomas Sarkanen
b709a10f4c Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4708558
#rb none
#jira none
#lockdown Laurent.Delayen

[CL 4708630 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 07:37:39 -05:00
Jurre deBaare
8fc9b7e60e Removed thirdparty modules and dependencies
#jira UE-65642
#rb none

[CL 4691986 by Jurre deBaare in Dev-Anim branch]
2019-01-09 06:58:40 -05:00
Thomas Sarkanen
7088a2f273 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4683693
#rb none
#jira none

[CL 4684302 by Thomas Sarkanen in Dev-Anim branch]
2019-01-07 05:38:46 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Alexis Matte
f14f84252a Make sure reduce LOD 0 do not loose there UVChannel
#jira UE-67586
#jira UE-67634
#rb chris.gagnon
#lockdown matt.kuhlenschmidt

[CL 4667417 by Alexis Matte in Dev-Editor branch]
2018-12-17 19:35:18 -05:00
Thomas Sarkanen
8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00
Richard TalbotWatkin
e74a1e7fc4 - Deprecated FRawMesh as source model serialization format for static meshes.
- MeshDescription now held as compressed bulk data and unpacked on demand. This is managed by FMeshDescriptionBulkData.
- Made RawMesh accessors in StaticMesh responsible for performing legacy conversion from MeshDescription if necessary.
- Added FBulkDataReader/FBulkDataWriter for serializing bulk data to/from archives.
- Added FUntypedBulkData::UnloadBulkData() for releasing the bulk data allocation without invalidating it (so it can be reloaded when necessary). Editor only.
- Renamed StaticMesh MeshDescription methods (now GetMeshDescription(), CommitMeshDescription() etc).
- Removed unnecessary mesh description attributes from StaticMesh: those which are used only by Editable Mesh, and transient attributes which are automatically generated when needed for building vertex tangent space.
- Slight change to FAttributesSetBase::RegisterAttribute(): if the attribute specified already exists, it will be amended to adopt the type, passed flags and number of indices. If only the number of indices changes, any existing data will be preserved if possible.
- Added TMeshAttributesRef::Copy() to copy an entire attributes array from one name/index to another.
- Changed implementation of TMeshAttributesRef/TMeshAttributesView to provide a const ref/view if the template type parameter is const. Added TMeshAttributesConstRef/TMeshAttributesConstView as an alias for backwards compatibility.
- Added FMeshDescription::IsEmpty() for determining whether a mesh description has any content or not.
- Removed versioning GUID for mesh description: this should be handled by each mesh description client now.

#rb Alexis.Matte

[CL 4644791 by Richard TalbotWatkin in Dev-Editor branch]
2018-12-10 09:29:08 -05:00
Alexis Matte
d4f802bff2 Set the base LOD to be the previous custom LOD
#jira UE-49033
#rb none

[CL 4633520 by Alexis Matte in Dev-Editor branch]
2018-12-05 14:55:06 -05:00
Alexis Matte
6f0c36aa40 Add the possibility to reduce static mesh LOD from any lower LOD instead of reducing from LOD 0 only.
#rb none
#jira UE-49033

[CL 4630122 by Alexis Matte in Dev-Editor branch]
2018-12-04 17:36:07 -05:00
Thomas Sarkanen
c51a339259 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4574801
#jira none
#rb none

[CL 4575789 by Thomas Sarkanen in Dev-Anim branch]
2018-11-19 07:03:18 -05:00
Matt Kuhlenschmidt
cde8160913 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4572510 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-16 11:15:08 -05:00
Matt Kuhlenschmidt
46e3285149 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4543237 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-06 10:00:36 -05:00
Alexis Matte
e58ee4babb Cleanup the SectionInfoMap when we remove LODs
#rb none
#jira UE-66076

[CL 4531925 by Alexis Matte in Dev-Editor branch]
2018-11-01 12:26:35 -04:00
alexis matte
e21fe4e781 Port a fix from cl: 4366690
Fix the material ID when creating generating reduce LODs from a mesh where the materials was re-order to the FBX order.
#rb none
#jira UE-64028

#ROBOMERGE-SOURCE: CL 4430035 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4430038 by alexis matte in Staging-4.21 branch]
2018-10-04 17:33:47 -04:00
jeanluc corenthin
da6881d9d7 Copy CL #4392021
- Fixed crash when importing model thru VRED importer
  - Includes changes to StaticMeshBuilder.cpp made in CL #4369604

#jira UE-64152
#rb Yuriy.ODonnell, Richard.TalbotWatkins

#ROBOMERGE-SOURCE: CL 4407052 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4407058 by jeanluc corenthin in Staging-4.21 branch]
2018-09-28 14:46:08 -04:00
Alexis Matte
0db4c44cbf Fix the material ID when creating generating reduce LODs from a mesh where the materials was re-order to the FBX order.
#rb none
#jira UE-64028

[CL 4366690 by Alexis Matte in Dev-Editor branch]
2018-09-14 13:26:30 -04:00
Matt Kuhlenschmidt
ae3ae6be6d Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4293353 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-08-16 14:30:12 -04:00
Matt Kuhlenschmidt
fd31a13879 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4292489 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-08-16 11:46:17 -04:00