Depsgraph: don't lose the update tag on rebuild for op nodes with a name.
This fixes a missing update when clearing the Text On Curve (follow_curve) option of a text object.
This commit is contained in:
parent
1a827e0564
commit
c25fa615d4
|
@ -373,6 +373,7 @@ void DepsgraphNodeBuilder::begin_build()
|
|||
entry_tag.id_orig = id_node->id_orig;
|
||||
entry_tag.component_type = comp_node->type;
|
||||
entry_tag.opcode = op_node->opcode;
|
||||
entry_tag.name = op_node->name;
|
||||
saved_entry_tags_.push_back(entry_tag);
|
||||
};
|
||||
GSET_FOREACH_END();
|
||||
|
@ -395,7 +396,7 @@ void DepsgraphNodeBuilder::end_build()
|
|||
if (comp_node == NULL) {
|
||||
continue;
|
||||
}
|
||||
OperationDepsNode *op_node = comp_node->find_operation(entry_tag.opcode);
|
||||
OperationDepsNode *op_node = comp_node->find_operation(entry_tag.opcode, entry_tag.name, -1);
|
||||
if (op_node == NULL) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -244,6 +244,7 @@ protected:
|
|||
ID *id_orig;
|
||||
eDepsNode_Type component_type;
|
||||
eDepsOperation_Code opcode;
|
||||
const char *name;
|
||||
};
|
||||
vector<SavedEntryTag> saved_entry_tags_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue