804
804
#define ACTIONSTRIP_MASK (ACTSTRIP_SELECT | ACTSTRIP_USESTRIDE \
805
805
| ACTSTRIP_HOLDLASTFRAME | ACTSTRIP_ACTIVE | ACTSTRIP_LOCK_ACTION \
806
| ACTSTRIP_MUTE | ACTSTRIP_CYCLIC_USEX | ACTSTRIP_CYCLIC_USEY | ACTSTRIP_CYCLIC_USEZ | ACTSTRIP_AUTO_BLENDS)
808
808
static PyObject *ActionStrip_getFlag( BPy_ActionStrip * self )
1171
1171
BPy_constant *d = ( BPy_constant * ) S;
1172
PyConstant_Insert( d, "SELECT",
1173
PyInt_FromLong( ACTSTRIP_SELECT ) );
1174
PyConstant_Insert( d, "STRIDE_PATH",
1175
PyInt_FromLong( ACTSTRIP_USESTRIDE ) );
1176
PyConstant_Insert( d, "HOLD",
1177
PyInt_FromLong( ACTSTRIP_HOLDLASTFRAME ) );
1178
PyConstant_Insert( d, "ACTIVE",
1179
PyInt_FromLong( ACTSTRIP_ACTIVE ) );
1180
PyConstant_Insert( d, "LOCK_ACTION",
1181
PyInt_FromLong( ACTSTRIP_LOCK_ACTION ) );
1182
PyConstant_Insert( d, "MUTE",
1183
PyInt_FromLong( ACTSTRIP_MUTE ) );
1172
PyConstant_Insert( d, "SELECT", PyInt_FromLong( ACTSTRIP_SELECT ) );
1173
PyConstant_Insert( d, "STRIDE_PATH", PyInt_FromLong( ACTSTRIP_USESTRIDE ) );
1174
PyConstant_Insert( d, "HOLD", PyInt_FromLong( ACTSTRIP_HOLDLASTFRAME ) );
1175
PyConstant_Insert( d, "ACTIVE", PyInt_FromLong( ACTSTRIP_ACTIVE ) );
1176
PyConstant_Insert( d, "LOCK_ACTION", PyInt_FromLong( ACTSTRIP_LOCK_ACTION ) );
1177
PyConstant_Insert( d, "MUTE", PyInt_FromLong( ACTSTRIP_MUTE ) );
1178
PyConstant_Insert( d, "USEX", PyInt_FromLong( ACTSTRIP_CYCLIC_USEX ) );
1179
PyConstant_Insert( d, "USEY", PyInt_FromLong( ACTSTRIP_CYCLIC_USEY ) );
1180
PyConstant_Insert( d, "USEZ", PyInt_FromLong( ACTSTRIP_CYCLIC_USEZ ) );
1181
PyConstant_Insert( d, "AUTO_BLEND", PyInt_FromLong( ACTSTRIP_AUTO_BLENDS ) );
1440
1438
strip->flag = ACTSTRIP_LOCK_ACTION;
1441
1439
find_stridechannel(ob, strip);
1441
if(ob->nlastrips.first == NULL)
1442
ob->nlaflag |= OB_NLA_OVERRIDE;
1443
1444
strip->repeat = 1.0;
1446
1448
BLI_addtail(&ob->nlastrips, strip);