diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-18 18:53:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-18 18:53:12 +0300 |
commit | e57fe5cd95f7c7af35a5733eee5e4b46b2382c58 (patch) | |
tree | 3a9c57db333c751b904a8114922dcb58d61f3a40 /source/blender/depsgraph/DEG_depsgraph.h | |
parent | 94d34ae205feb798e3d4151c2661e68ef2163f59 (diff) |
Depsgraph: Use named typedef for tag
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index efa18a98cf9..4f45768cbea 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -140,7 +140,7 @@ void DEG_graph_on_visible_update(struct Main *bmain, Depsgraph *depsgraph); void DEG_on_visible_update(struct Main *bmain, const bool do_time); /* Tag given ID for an update in all the dependency graphs. */ -enum { +typedef enum eDepsgraph_Tag { /* Object transformation changed, corresponds to OB_RECALC_OB. */ DEG_TAG_TRANSFORM = (1 << 0), /* Object geometry changed, corresponds to OB_RECALC_DATA. */ @@ -168,7 +168,7 @@ enum { DEG_TAG_BASE_FLAGS_UPDATE = (1 << 11), /* Only inform editors about the change. Don't modify datablock itself. */ DEG_TAG_EDITORS_UPDATE = (1 << 12), -}; +} eDepsgraph_Tag; void DEG_id_tag_update(struct ID *id, int flag); void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); |