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:
authorTon Roosendaal <ton@blender.org>2010-12-11 23:01:34 +0300
committerTon Roosendaal <ton@blender.org>2010-12-11 23:01:34 +0300
commit194449d03801d4c41df2a54e5564c67888ecf3d2 (patch)
treeab39c49796e025a721b5db7ffdd3d2a3a3e24a98 /source/blender/editors/space_sequencer/space_sequencer.c
parent02be76be29ae591a002f1fa6a1fa65b1215f4ed1 (diff)
Sequencer:
Dropping in image/movie/sound strips was broken; it dropped things in wrong location (frame 0), and without giving images proper length. The file path setting code for the operators here is complex...
Diffstat (limited to 'source/blender/editors/space_sequencer/space_sequencer.c')
-rw-r--r--source/blender/editors/space_sequencer/space_sequencer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c
index 84daf04e4aa..179db47ae12 100644
--- a/source/blender/editors/space_sequencer/space_sequencer.c
+++ b/source/blender/editors/space_sequencer/space_sequencer.c
@@ -334,6 +334,7 @@ static void sequencer_drop_copy(wmDrag *drag, wmDropBox *drop)
RNA_string_set(drop->ptr, "directory", dir);
+ RNA_collection_clear(drop->ptr, "files");
RNA_collection_add(drop->ptr, "files", &itemptr);
RNA_string_set(&itemptr, "name", file);
}