Rename VoxelPreview to ModelPreview.

This commit is contained in:
Paul Chote
2017-06-09 08:25:21 +00:00
committed by reaperrr
parent 736e70df78
commit 6ca0208694
3 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits.Render
.SelectMany(rvpi => rvpi.RenderPreviewVoxels(init, this, image, init.GetOrientation(), facings, palette))
.ToArray();
yield return new VoxelPreview(components, WVec.Zero, 0, Scale, LightPitch,
yield return new ModelPreview(components, WVec.Zero, 0, Scale, LightPitch,
LightYaw, LightAmbientColor, LightDiffuseColor, body.CameraPitch,
palette, init.WorldRenderer.Palette(NormalsPalette), init.WorldRenderer.Palette(ShadowPalette));
}