Fixes #2454: Incorrect bottom edge texture rotation on pylons on X axis

This commit is contained in:
yueh 2016-10-11 15:38:47 +02:00
parent 55d66be929
commit 69e1c5433f

View file

@ -77,14 +77,14 @@ class SpatialPylonBakedModel implements IBakedModel
builder.setUvRotation( EnumFacing.SOUTH, 1 );
builder.setUvRotation( EnumFacing.NORTH, 1 );
builder.setUvRotation( EnumFacing.UP, 2 );
builder.setUvRotation( EnumFacing.DOWN, 1 );
builder.setUvRotation( EnumFacing.DOWN, 2 );
}
else if( ( flags & TileSpatialPylon.DISPLAY_MIDDLE ) == TileSpatialPylon.DISPLAY_END_MIN )
{
builder.setUvRotation( EnumFacing.SOUTH, 2 );
builder.setUvRotation( EnumFacing.NORTH, 2 );
builder.setUvRotation( EnumFacing.UP, 1 );
builder.setUvRotation( EnumFacing.DOWN, 2 );
builder.setUvRotation( EnumFacing.DOWN, 1 );
}
else
{