Fix Cloth with models that use compressed vertex buffer

#4017
This commit is contained in:
Wojtek Figat
2026-03-24 22:59:21 +01:00
parent a63e05d444
commit 29abfbcdc9
9 changed files with 186 additions and 116 deletions

View File

@@ -14,6 +14,12 @@ String ModelInstanceActor::MeshReference::ToString() const
return String::Format(TEXT("Actor={},LOD={},Mesh={}"), Actor ? Actor->GetNamePath() : String::Empty, LODIndex, MeshIndex);
}
MeshBase* ModelInstanceActor::MeshReference::Get() const
{
auto actor = Actor.Get();
return actor ? actor->GetMesh(*this) : nullptr;
}
void ModelInstanceActor::SetEntries(const Array<ModelInstanceEntry>& value)
{
WaitForModelLoad();