* @param part compositor being added as a particle
* @param comp target compositor for add
*/
private static void addCompositorPart(CommonCompositorDefinition part, CommonCompositorDefinition comp) {
FilteredSegmentList parts = part.getParticleList();
Count maxo = part.getMaxOccurs();
Count mino = part.getMinOccurs();
if (parts.size() == 1 && (maxo == null || maxo.isEqual(1)) && (mino == null || mino.isEqual(1))) {
comp.getParticleList().add(parts.get(0));
} else if (parts.size() > 1) {
comp.getParticleList().add(part);
}
}