From 1ba7feac9f32641a69aeeda79eded08193c2d8fd Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Fri, 9 May 2014 20:29:24 -0500 Subject: [PATCH] Fixed minor render issue with glass cables connected to machines. --- parts/networking/PartCable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/networking/PartCable.java b/parts/networking/PartCable.java index 2782d94e7..18ef53a96 100644 --- a/parts/networking/PartCable.java +++ b/parts/networking/PartCable.java @@ -381,7 +381,7 @@ public class PartCable extends AEBasePart implements IPartCable IPartHost ccph = te instanceof IPartHost ? (IPartHost) te : null; IGridHost gh = te instanceof IGridHost ? (IGridHost) te : null; - rh.setFacesToRender( EnumSet.complementOf( EnumSet.of( of, of.getOpposite() ) ) ); + rh.setFacesToRender( EnumSet.complementOf( EnumSet.of( of ) ) ); if ( gh != null && ccph != null && gh.getCableConnectionType( of ) == AECableType.GLASS && ccph.getColor() != AEColor.Transparent && ccph.getPart( of.getOpposite() ) == null ) @@ -494,7 +494,7 @@ public class PartCable extends AEBasePart implements IPartCable IGridHost ghh = te instanceof IGridHost ? (IGridHost) te : null; boolean isSmart = false; - rh.setFacesToRender( EnumSet.complementOf( EnumSet.of( of, of.getOpposite() ) ) ); + rh.setFacesToRender( EnumSet.complementOf( EnumSet.of( of.getOpposite() ) ) ); if ( ghh != null && ccph != null && ghh.getCableConnectionType( of.getOpposite() ) == AECableType.GLASS && ccph.getPart( of.getOpposite() ) == null && ccph.getColor() != AEColor.Transparent ) rh.setTexture( getGlassTexture( ccph.getColor() ) );