Bugfix: If you use the IPO-pinning feature and edited an IPO that wasn't highlighted as the current Sequence (current Sequence being a Metastrip), you'll get obscure crashes, since the code a) was mistakenly using last_seq b) didn't test for se->ok != 2, thereby doing double frees on imbufs Am I the only one, who wants to remove the last_seq global completely... ?
70 lines
2.1 KiB
C++
70 lines
2.1 KiB
C++
/**
|
|
* $Id$
|
|
*
|
|
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version. The Blender
|
|
* Foundation also sells licenses for use in proprietary software under
|
|
* the Blender License. See http://www.blender.org/BL/ for information
|
|
* about this.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
|
* All rights reserved.
|
|
*
|
|
* The Original Code is: all of this file.
|
|
*
|
|
* Contributor(s): none yet.
|
|
*
|
|
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
|
*/
|
|
|
|
#ifndef BIF_EDITSEQ_H
|
|
#define BIF_EDITSEQ_H
|
|
|
|
struct Sequence;
|
|
|
|
void add_duplicate_seq(void);
|
|
void add_sequence(int type);
|
|
void borderselect_seq(void);
|
|
void boundbox_seq(void);
|
|
void change_sequence(void);
|
|
void update_seq_ipo_rect(struct Sequence * seq);
|
|
struct Sequence* get_last_seq();
|
|
void set_last_seq_to_null();
|
|
void clear_seq_belonging_to_ipo(struct Ipo * ipo);
|
|
void clever_numbuts_seq(void);
|
|
void del_seq(void);
|
|
void enter_meta(void);
|
|
void exit_meta(void);
|
|
struct Sequence* find_nearest_seq(int *hand);
|
|
int insert_gap(int gap, int cfra);
|
|
void make_meta(void);
|
|
void mouse_select_seq(void);
|
|
void no_gaps(void);
|
|
void seq_snap(short event);
|
|
void seq_snap_menu(void);
|
|
void set_filter_seq(void);
|
|
void swap_select_seq(void);
|
|
void touch_seq_files(void);
|
|
void transform_seq(int mode, int context);
|
|
void un_meta(void);
|
|
void seq_cut(short cutframe);
|
|
|
|
/* drawseq.c */
|
|
void do_seqbuttons(short);
|
|
|
|
#endif
|
|
|