diff options
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 7 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 59b10b95d49..9349b189e7b 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -120,10 +120,9 @@ void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, short flag); -/* Tag given ID type for update. - * - * Used by all sort of render engines to quickly check if - * IDs of a given type need to be checked for update. +/* Mark a particular datablock type as having changing. This does + * not cause any updates but is used by external render engines to detect if for + * example a datablock was removed. */ void DEG_id_type_tag(struct Main *bmain, short idtype); diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 798af90f9ed..3d63e570eb8 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -251,7 +251,7 @@ void DEG_id_tag_update_ex(Main *bmain, ID *id, short flag) #endif } -/* Tag given ID type as updated. */ +/* Mark a particular datablock type as having changing. */ void DEG_id_type_tag(Main *bmain, short idtype) { if (idtype == ID_NT) { |