Fixed render glitch with dense cable and buses.
This commit is contained in:
parent
b8a74bd7a4
commit
d14d1c6f07
|
@ -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() ) );
|
||||
|
|
Loading…
Reference in a new issue