diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-17 22:05:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-17 22:05:10 +0300 |
commit | fd90685a48f6fae30e6731bc4a805930e776f117 (patch) | |
tree | 8d901c26f5291ff4b5de03b023d7cadc6a71d713 /source/blender/editors/metaball | |
parent | b48f7901d27f28d5e0aa10d352f31ecd2cf71e25 (diff) |
remove some paranoid NULL checks, since the pointers are used already.
Diffstat (limited to 'source/blender/editors/metaball')
-rw-r--r-- | source/blender/editors/metaball/mball_edit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c index 1170a910c92..a9a673fdf20 100644 --- a/source/blender/editors/metaball/mball_edit.c +++ b/source/blender/editors/metaball/mball_edit.c @@ -95,8 +95,6 @@ MetaElem *add_metaball_primitive(bContext *C, float mat[4][4], int type, int UNU MetaBall *mball = (MetaBall*)obedit->data; MetaElem *ml; - if(!obedit) return NULL; - /* Deselect all existing metaelems */ ml= mball->editelems->first; while(ml) { |