diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-19 05:36:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-19 05:36:59 +0400 |
commit | ce0ad0b40b93fc6074daaba6ead0e0e82867d4d2 (patch) | |
tree | ebfd9fb114944b774e0aeb249e585e925bcb0b5e | |
parent | 1f5d60ba01526cb1e5a22e10030a4d1ec8ff2727 (diff) |
fix [#28018] Sequence Swap Data Operator does not work
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 265cc3eeb79..d6a152a5280 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -3232,9 +3232,10 @@ int seq_swap(Sequence *seq_a, Sequence *seq_b, const char **error_str) { char name[sizeof(seq_a->name)]; - if(seq_a->len != seq_b->len) + if(seq_a->len != seq_b->len) { *error_str= "Strips must be the same length"; return 0; + } /* type checking, could be more advanced but disalow sound vs non-sound copy */ if(seq_a->type != seq_b->type) { |