Depsgraph: Cleanup, comments wrapping and spacing between lines

Should make it easier to read. No functional changes expected.
This commit is contained in:
2022-07-19 14:25:02 +02:00
parent 6d2100f7de
commit 73f8a7ca0a
2 changed files with 28 additions and 5 deletions

View File

@@ -203,13 +203,16 @@ const char *operationCodeAsString(OperationCode opcode);
enum OperationFlag {
/* Node needs to be updated. */
DEPSOP_FLAG_NEEDS_UPDATE = (1 << 0),
/* Node was directly modified, causing need for update. */
DEPSOP_FLAG_DIRECTLY_MODIFIED = (1 << 1),
/* Node was updated due to user input. */
DEPSOP_FLAG_USER_MODIFIED = (1 << 2),
/* Node may not be removed, even when it has no evaluation callback and no
* outgoing relations. This is for NO-OP nodes that are purely used to indicate a
* relation between components/IDs, and not for connecting to an operation. */
/* Node may not be removed, even when it has no evaluation callback and no outgoing relations.
* This is for NO-OP nodes that are purely used to indicate a relation between components/IDs,
* and not for connecting to an operation. */
DEPSOP_FLAG_PINNED = (1 << 3),
/* Set of flags which gets flushed along the relations. */