避免错误调试
This commit is contained in:
parent
cf3b688013
commit
bff7c0759a
@ -48,7 +48,9 @@ void ADynamicSMCActor::UpdateSMCMesh()
|
||||
StaticMesh = NewObject<UStaticMesh>();
|
||||
MeshComponent->SetStaticMesh(StaticMesh);
|
||||
// add one material slot
|
||||
StaticMesh->GetStaticMaterials().Add(FStaticMaterial());
|
||||
FStaticMaterial StaticMaterial;
|
||||
StaticMaterial.UVChannelData = FMeshUVChannelInfo(1.0f);
|
||||
StaticMesh->GetStaticMaterials().Add(StaticMaterial);
|
||||
}
|
||||
|
||||
if (MeshComponent)
|
||||
|
Loading…
Reference in New Issue
Block a user