Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-04-23 12:01:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-04-23 12:01:02 +0400
commitb3bd7c869ac969924e1b273838f0e9f8d94beafd (patch)
treee773c5a5c48adccced6bdeb01d992e240e87d04e /source/blender/python/api2_2x/Modifier.h
parent8001a8b409833c3ff4e1dce36e9bebc36fb3e859 (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.h4
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;