- dont create scene.sequence_editor on read, means data-browser or autocomplete will...
[blender-staging.git] / source / blender / editors / space_outliner / outliner_select.c
index 45687bf96a56f78395c701cd8648d6d6c4aeb049..18769476118587ce4e0aea8edaab94ad75f21afb 100644 (file)
@@ -585,7 +585,7 @@ static int tree_element_active_sequence(TreeElement *te, TreeStoreElem *UNUSED(t
 static int tree_element_active_sequence_dup(Scene *scene, TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
 {
        Sequence *seq, *p;
 static int tree_element_active_sequence_dup(Scene *scene, TreeElement *te, TreeStoreElem *UNUSED(tselem), int set)
 {
        Sequence *seq, *p;
-       Editing *ed = seq_give_editing(scene, FALSE);
+       Editing *ed = BKE_sequencer_editing_get(scene, FALSE);
 
        seq = (Sequence *)te->directdata;
        if (set == 0) {
 
        seq = (Sequence *)te->directdata;
        if (set == 0) {