Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-04-23 13:52:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-04-23 13:53:43 +0300
commitd68f7c8e11d9c26e6d02f9b0aaed3adef4db7140 (patch)
tree53080996b4229a1b49ad9069a42024a4a7caa85f /source/blender/depsgraph/DEG_depsgraph.h
parent4df12b6ca6189d6a5ee19240d0e32aa80d721033 (diff)
Depsgraph: Make update flags debug print more useful
Will print list of human-readable update flags, not the combined bitfield printed as a number.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index b30c99cbc0e..a158279a9d1 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -156,6 +156,9 @@ typedef enum eDepsgraph_Tag {
/* Only inform editors about the change. Don't modify datablock itself. */
DEG_TAG_EDITORS_UPDATE = (1 << 12),
} eDepsgraph_Tag;
+
+const char *DEG_update_tag_as_string(eDepsgraph_Tag flag);
+
void DEG_id_tag_update(struct ID *id, int flag);
void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag);