diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-03 12:41:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-03 12:41:19 +0300 |
commit | f1cb4d521c121092710e4e2118cce825e8fd5c7d (patch) | |
tree | ea8bbbb087728b732c447d0b32f2d650fe53d04d /source/blender/python/api2_2x/NLA.c | |
parent | 27061f5fe9ddb30b389843a44f9789b84b15ed4e (diff) |
patch from John Croisant [#8045] Allows muting NLA strips via Python API
https://projects.blender.org/tracker/index.php?func=detail&aid=8045&group_id=9&atid=127
Diffstat (limited to 'source/blender/python/api2_2x/NLA.c')
-rw-r--r-- | source/blender/python/api2_2x/NLA.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/NLA.c b/source/blender/python/api2_2x/NLA.c index a0bdaa83d07..8fbb468de88 100644 --- a/source/blender/python/api2_2x/NLA.c +++ b/source/blender/python/api2_2x/NLA.c @@ -1,5 +1,5 @@ /* - * $Id: NLA.c 11907 2007-08-31 18:21:12Z campbellbarton $ + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -805,7 +805,8 @@ static int ActionStrip_setBlendMode( BPy_ActionStrip * self, PyObject * value ) */ #define ACTIONSTRIP_MASK (ACTSTRIP_SELECT | ACTSTRIP_USESTRIDE \ - | ACTSTRIP_HOLDLASTFRAME | ACTSTRIP_ACTIVE | ACTSTRIP_LOCK_ACTION) + | ACTSTRIP_HOLDLASTFRAME | ACTSTRIP_ACTIVE | ACTSTRIP_LOCK_ACTION \ + | ACTSTRIP_MUTE) static PyObject *ActionStrip_getFlag( BPy_ActionStrip * self ) { @@ -1181,6 +1182,8 @@ static PyObject *M_ActionStrip_FlagsDict( void ) PyInt_FromLong( ACTSTRIP_ACTIVE ) ); PyConstant_Insert( d, "LOCK_ACTION", PyInt_FromLong( ACTSTRIP_LOCK_ACTION ) ); + PyConstant_Insert( d, "MUTE", + PyInt_FromLong( ACTSTRIP_MUTE ) ); } return S; } |