[Bug] Destruct(a|i)ble Mesh Inconsistency

In the editor and stuff, Destruct a ble Meshes. In code, UDestruct i bleMesh (and -Component.)

See here:

//////////////////////////////////////////////////////////////////////////
// FDestructableMeshComponentBroker

class FDestructableMeshComponentBroker : public IComponentAssetBroker
{
public:
	UClass* GetSupportedAssetClass() override
	{
		return UDestructibleMesh::StaticClass();
	}

	virtual bool AssignAssetToComponent(UActorComponent* InComponent, UObject* InAsset) override
	{
		if (UDestructibleComponent* DestMeshComp = Cast<UDestructibleComponent>(InComponent))
		{
			UDestructibleMesh* DMesh = Cast<UDestructibleMesh>(InAsset);

			if (DMesh)
			{
				DestMeshComp->SetDestructibleMesh(DMesh);
				return true;
			}
		}

		return false;
	}

	virtual UObject* GetAssetFromComponent(UActorComponent* InComponent) override
	{
		if (UDestructibleComponent* DestMeshComp = Cast<UDestructibleComponent>(InComponent))
		{
			return DestMeshComp->GetDestructibleMesh();
		}
		return NULL;
	}
};

i think they should just call it FracturedMesh, its easier to spell, and doesn’t imply deletion.

destroy and destruct are synonyms in English, but in UE4, destroying an actor means deleting it, while destructible means it can be fractured.

Hey TTaM-

If I understand correctly you’re saying that inside the Editor the term is spelled “DestructAble” and in the code it is spelled “DestructIble”. If you are seeing this can you point our where in the editor it is spelled with an “A”? The places I know to look at the spelling of the word in the editor (when creating a destructible mesh, when referencing one in blueprints, or when selecting one in the level) is consistently spelled with an “I”.

Cheers