diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-27 13:54:35 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-27 13:54:35 +0300 |
commit | 2efd8099de9c68951ea251fad5b90b5533657fed (patch) | |
tree | 653aa1839d7fe5451cd5f9900e52d00d837df07a /source/blender | |
parent | 4e881540f71ba207db7c007a3424c95eff187080 (diff) | |
parent | 34c8ba6d3e79e85231b0e63d25e7c43cf5ab4ea9 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_data_transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_data_transform.c b/source/blender/editors/object/object_data_transform.c index 97191374bdc..b6f125c6f71 100644 --- a/source/blender/editors/object/object_data_transform.c +++ b/source/blender/editors/object/object_data_transform.c @@ -306,6 +306,9 @@ struct XFormObjectData_MetaBall { struct XFormObjectData *ED_object_data_xform_create_ex(ID *id, bool is_edit_mode) { struct XFormObjectData *xod_base = NULL; + if (id == NULL) { + return xod_base; + } switch (GS(id->name)) { case ID_ME: { Mesh *me = (Mesh *)id; |