Depsgraph: Remove unused code
Became obsolete after recent changes.
This commit is contained in:
parent
bdd855ac1a
commit
c683c3805e
|
@ -85,8 +85,7 @@ static void flush_init_func(void *data_v, int i)
|
|||
id_node->done = 0;
|
||||
comp_node->done = 0;
|
||||
node->scheduled = false;
|
||||
node->owner->flags &= ~DEPSCOMP_FULLY_SCHEDULED;
|
||||
if (node->owner->type == DEPSNODE_TYPE_PROXY) {
|
||||
if (comp_node->type == DEPSNODE_TYPE_PROXY) {
|
||||
node->flag |= DEPSOP_FLAG_NEEDS_UPDATE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,7 +86,6 @@ static void comp_node_hash_value_free(void *value_v)
|
|||
ComponentDepsNode::ComponentDepsNode() :
|
||||
entry_operation(NULL),
|
||||
exit_operation(NULL),
|
||||
flags(0),
|
||||
layers(0)
|
||||
{
|
||||
operations_map = BLI_ghash_new(comp_node_hash_key,
|
||||
|
|
|
@ -47,13 +47,6 @@ struct Depsgraph;
|
|||
struct OperationDepsNode;
|
||||
struct BoneComponentDepsNode;
|
||||
|
||||
typedef enum eDepsComponent_Flag {
|
||||
/* Temporary flags, meaning all the component's operations has been
|
||||
* scheduled for update.
|
||||
*/
|
||||
DEPSCOMP_FULLY_SCHEDULED = 1,
|
||||
} eDepsComponent_Flag;
|
||||
|
||||
/* ID Component - Base type for all components */
|
||||
struct ComponentDepsNode : public DepsNode {
|
||||
/* Key used to look up operations within a component */
|
||||
|
@ -165,8 +158,6 @@ struct ComponentDepsNode : public DepsNode {
|
|||
|
||||
// XXX: a poll() callback to check if component's first node can be started?
|
||||
|
||||
int flags;
|
||||
|
||||
/* Temporary bitmask, used during graph construction. */
|
||||
int layers;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue