fix [#28018] Sequence Swap Data Operator does not work

This commit is contained in:
Campbell Barton 2011-07-19 01:36:59 +00:00
parent 1f5d60ba01
commit ce0ad0b40b

@ -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) {