Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph.h
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | enum RelationFlag { | ||||
| RELATION_FLAG_NO_FLUSH = (1 << 1), | RELATION_FLAG_NO_FLUSH = (1 << 1), | ||||
| /* Only flush along the relation is update comes from a node which was | /* Only flush along the relation is update comes from a node which was | ||||
| * affected by user input. */ | * affected by user input. */ | ||||
| RELATION_FLAG_FLUSH_USER_EDIT_ONLY = (1 << 2), | RELATION_FLAG_FLUSH_USER_EDIT_ONLY = (1 << 2), | ||||
| /* The relation can not be killed by the cyclic dependencies solver. */ | /* The relation can not be killed by the cyclic dependencies solver. */ | ||||
| RELATION_FLAG_GODMODE = (1 << 4), | RELATION_FLAG_GODMODE = (1 << 4), | ||||
| /* Relation will check existence before being added. */ | /* Relation will check existence before being added. */ | ||||
| RELATION_CHECK_BEFORE_ADD = (1 << 5), | RELATION_CHECK_BEFORE_ADD = (1 << 5), | ||||
| /* Physics relation that should be preferred for breaking cycles. */ | |||||
| RELATION_FLAG_PHYSICS_BREAK_CYCLES = (1 << 6), | |||||
| }; | }; | ||||
| /* B depends on A (A -> B) */ | /* B depends on A (A -> B) */ | ||||
| struct Relation { | struct Relation { | ||||
| Relation(Node *from, Node *to, const char *description); | Relation(Node *from, Node *to, const char *description); | ||||
| ~Relation(); | ~Relation(); | ||||
| void unlink(); | void unlink(); | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||