== Action/IPO Editors - Code Cleanup ==
Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
#define EDITABLE_ICU(icu) ((icu->flag & IPO_PROTECT)==0)
|
||||
#define SEL_ICU(icu) (icu->flag & IPO_SELECT)
|
||||
|
||||
#define NLA_ACTION_SCALED (G.saction->pin==0 && OBACT)
|
||||
#define NLA_IPO_SCALED (OBACT && OBACT->action && G.sipo->pin==0 && G.sipo->actname)
|
||||
|
||||
/* constants for setting ipo-interpolation type */
|
||||
#define SET_IPO_POPUP 0
|
||||
#define SET_IPO_CONSTANT 1
|
||||
|
||||
Reference in New Issue
Block a user