diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-04-23 12:01:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-04-23 12:01:02 +0400 |
commit | b3bd7c869ac969924e1b273838f0e9f8d94beafd (patch) | |
tree | e773c5a5c48adccced6bdeb01d992e240e87d04e /source/blender/python/api2_2x/Modifier.h | |
parent | 8001a8b409833c3ff4e1dce36e9bebc36fb3e859 (diff) |
added remove to the modifier seq (when pymodifier->md is NULL then its been removed)
added name to the docs
Diffstat (limited to 'source/blender/python/api2_2x/Modifier.h')
-rw-r--r-- | source/blender/python/api2_2x/Modifier.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Modifier.h b/source/blender/python/api2_2x/Modifier.h index 15b2c93f1df..6b48ebd14f0 100644 --- a/source/blender/python/api2_2x/Modifier.h +++ b/source/blender/python/api2_2x/Modifier.h @@ -44,7 +44,9 @@ typedef struct { PyObject_HEAD /* required macro */ Object *obj; - ModifierData *md; + /* if md this is null, the modifier has been removed and we need to raise + an error when its data is accessed */ + ModifierData *md; } BPy_Modifier; extern PyTypeObject Modifier_Type; |