Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/node/deg_node_operation.h
| Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| enum OperationFlag { | enum OperationFlag { | ||||
| /* Node needs to be updated. */ | /* Node needs to be updated. */ | ||||
| DEPSOP_FLAG_NEEDS_UPDATE = (1 << 0), | DEPSOP_FLAG_NEEDS_UPDATE = (1 << 0), | ||||
| /* Node was directly modified, causing need for update. */ | /* Node was directly modified, causing need for update. */ | ||||
| DEPSOP_FLAG_DIRECTLY_MODIFIED = (1 << 1), | DEPSOP_FLAG_DIRECTLY_MODIFIED = (1 << 1), | ||||
| /* Node was updated due to user input. */ | /* Node was updated due to user input. */ | ||||
| DEPSOP_FLAG_USER_MODIFIED = (1 << 2), | 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. */ | |||||
| DEPSOP_FLAG_PINNED = (1 << 3), | |||||
| /* Set of flags which gets flushed along the relations. */ | /* Set of flags which gets flushed along the relations. */ | ||||
| DEPSOP_FLAG_FLUSH = (DEPSOP_FLAG_USER_MODIFIED), | DEPSOP_FLAG_FLUSH = (DEPSOP_FLAG_USER_MODIFIED), | ||||
| }; | }; | ||||
| /* Atomic Operation - Base type for all operations */ | /* Atomic Operation - Base type for all operations */ | ||||
| struct OperationNode : public Node { | struct OperationNode : public Node { | ||||
| OperationNode(); | OperationNode(); | ||||
| ▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines | |||||