Remove superfluous if statement
Remove superfluous if statement

The for loop afterwards does exactly the same.

Ultimaker/CuraEngine,alephobjects/CuraEngine,alephobjects/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,Ultimaker/CuraEngine,alephobjects/CuraEngine