Depsgraph: More full explanation for previous commit

This commit is contained in:
Sergey Sharybin 2017-11-30 11:57:21 +01:00
parent 4b9b9dbf93
commit 059b878240
2 changed files with 4 additions and 5 deletions

View File

@ -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);

View File

@ -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) {