Exemplo n.º 1
0
def _re_render_transition_or_fade(data):
    clip, track, item_id, item_data = data
    from_clip_id, to_clip_id, from_out, from_in, to_out, to_in, transition_type_index, sorted_wipe_luma_index, color_str = clip.creation_data
    name, type_id = mlttransitions.rendered_transitions[transition_type_index]
    if type_id < appconsts.RENDERED_FADE_IN:
        tlineaction.re_render_transition(data)
    else:
        tlineaction.re_render_fade(data)
Exemplo n.º 2
0
def _re_render_transition_or_fade(data):
    clip, track, item_id, item_data = data
    from_clip_id, to_clip_id, from_out, from_in, to_out, to_in, transition_type_index, sorted_wipe_luma_index, color_str = clip.creation_data
    name, type_id = mlttransitions.rendered_transitions[transition_type_index]
    if type_id < appconsts.RENDERED_FADE_IN:
        tlineaction.re_render_transition(data)
    else:
        tlineaction.re_render_fade(data)