Skip to content
Permalink
Browse files

Fixes #4089: Render cable core on straight lines of different types. (#…

  • Loading branch information...
yueh committed Jul 23, 2019
1 parent 92536fc commit c483bd17f50957ac25e9af3b71a82845086ffe35
@@ -493,6 +493,11 @@ else if( connectionType == AECableType.COVERED || connectionType == AECableType.
this.addCoveredConnection( facing, cableColor, connectionType, cableBusAdjacent, quadsOut );
return;
}
else if( connectionType == AECableType.DENSE_COVERED )
{
this.addDenseCoveredConnection( facing, cableColor, connectionType, cableBusAdjacent, quadsOut );
return;
}

CubeBuilder cubeBuilder = new CubeBuilder( this.format, quadsOut );

@@ -172,7 +172,7 @@ private static boolean isStraightLine( AECableType cableType, EnumMap<EnumFacing

final AECableType secondType = sides.get( firstSide.getOpposite() );

return firstType == secondType;
return firstType == secondType && cableType == firstType && cableType == secondType;
}

private void addCableQuads( CableBusRenderState renderState, List<BakedQuad> quadsOut )

0 comments on commit c483bd1

Please sign in to comment.
You can’t perform that action at this time.