== Action Editor ==
[blender.git] / source / blender / include / BIF_editaction.h
index b6dd9ae55a86acbf43b33375802dc98043971f5b..4d171a8ad86b57ce49e3e3bbc6e84df610c101b5 100644 (file)
@@ -64,7 +64,7 @@
 #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_ACTION_SCALED (G.saction->pin==0 && OBACT && OBACT->action)
 #define NLA_IPO_SCALED (OBACT && OBACT->action && G.sipo->pin==0 && G.sipo->actname)
 
 /* constants for setting ipo-interpolation type */