diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2010-12-19 04:55:07 +0300 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2010-12-19 04:55:07 +0300 |
commit | 831684fd8f8f92df340c7853b1f391f8510d1482 (patch) | |
tree | 74111f1e9989c7f46d98422f9ff41079e32e7db7 /source/blender/editors/object | |
parent | e47ab723a092ffcb31eb3329d6f81df6f7317767 (diff) |
Fix compilation, obvious typo.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 59c9547680e..ef6f450f2f4 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -84,7 +84,7 @@ ModifierData *ED_object_modifier_add(ReportList *reports, Main *bmain, Scene *sc ModifierTypeInfo *mti = modifierType_getInfo(type); /* only geometry objects should be able to get modifiers [#25291] */ - if(!ELEM(ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_LATTICE)) { + if(!ELEM5(ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_LATTICE)) { BKE_reportf(reports, RPT_WARNING, "Modifiers cannot be added to Object '%s'", ob->id.name+2); return NULL; } |