== Action/IPO Editors - Code Cleanup ==
[blender-staging.git] / source / blender / include / BIF_editaction.h
index 838bbb5c34c4ca1a0d94c84ceaaecab8a8d766be..b6dd9ae55a86acbf43b33375802dc98043971f5b 100644 (file)
@@ -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