Fixed render glitch with dense cable and buses.
This commit is contained in:
@@ -231,7 +231,8 @@ public class PartDenseCable extends PartCable
|
||||
* rh.setTexture( getTexture( getCableColor() ) ); }
|
||||
*/
|
||||
|
||||
if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) != AECableType.GLASS && ccph.getColor() != AEColor.Transparent )
|
||||
if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) != AECableType.GLASS && ccph.getColor() != AEColor.Transparent
|
||||
&& ccph.getPart( of.getOpposite() ) == null )
|
||||
rh.setTexture( getTexture( myColor = ccph.getColor() ) );
|
||||
else
|
||||
rh.setTexture( getTexture( getCableColor() ) );
|
||||
|
||||
Reference in New Issue
Block a user