// Z order indicates the items that will be drawn on top. Compositions should be top, then clips. Clips with mix should be ordered related to their position so that the right clip of a clip mix is always on top (the mix UI is drawn over the right clip)
// Z order indicates the items that will be drawn on top.
if(model.clipType==ProducerType.Composition){
// Compositions should be top, then clips
return50000;
}
if(model.mixDuration>0){
// Clips with mix should be ordered related to their position so that the right clip of a clip mix is always on top (the mix UI is drawn over the right clip)