Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 2771e6315c8..2b500321dfe 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -791,34 +791,12 @@ static void recurs_del_seq_flag(Scene *scene, ListBase *lb, short flag, short de
static Sequence *dupli_seq(struct Scene *scene, Sequence *seq)
{
Sequence *seqn = MEM_dupallocN(seq);
- // XXX animato: ID *id;
seq->tmp = seqn;
-
seqn->strip= MEM_dupallocN(seq->strip);
- // XXX animato
-#if 0
- if (seqn->ipo) {
- if (U.dupflag & USER_DUP_IPO) {
- id= (ID *)seqn->ipo;
- seqn->ipo= copy_ipo(seqn->ipo);
- /* we don't need to decrease the number
- * of the ipo because we never increase it,
- * for example, adduplicate need decrease
- * the number but only because copy_object
- * call id_us_plus for the ipo block and
- * single_ipo_users only work if id->us > 1.
- *
- * need call ipo_idnew here, for drivers ??
- * - Diego
- */
- }
- else
- seqn->ipo->id.us++;
- }
-#endif
-
+ // XXX: add F-Curve duplication stuff?
+
seqn->strip->tstripdata = 0;
seqn->strip->tstripdata_startstill = 0;
seqn->strip->tstripdata_endstill = 0;