diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 18:57:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 18:57:19 +0400 |
commit | 32254596d4de9558b7af81bfe69db5d160a97769 (patch) | |
tree | 022629de72b05ce7bf7165ed43a123435de7b9ab /source/blender/blenkernel/intern/depsgraph.c | |
parent | 82688e61fc330022bd8685a5a137fca024a60b8a (diff) |
replace ELEM8(gs, ID_ME, ID_CU, ID_MB, ID_LT, ID_LA, ID_CA, ID_TXT, ID_SPK) with macro: OB_DATA_SUPPORT_ID()
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index 87ebc597ecd..b22e24e15d4 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -2596,7 +2596,8 @@ static void dag_id_flush_update(Scene *sce, ID *id) if (id) { idtype = GS(id->name); - if (ELEM8(idtype, ID_ME, ID_CU, ID_MB, ID_LA, ID_LT, ID_CA, ID_AR, ID_SPK)) { + + if (OB_DATA_SUPPORT_ID(idtype)) { for (obt = bmain->object.first; obt; obt = obt->id.next) { if (!(ob && obt == ob) && obt->data == id) { obt->recalc |= OB_RECALC_DATA; |