diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-24 19:38:50 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-24 22:14:32 +0300 |
commit | 97ec802da7a6bd99f79875fce459659f6218862e (patch) | |
tree | 7687da897c433805432bf28efa6799deb731b998 /source/blender/depsgraph/intern/builder/deg_builder_relations.h | |
parent | e66084268ccc08bfde4b384211f5a248a805036d (diff) |
Depsgraph: fixes for the eval_flags API behavior.
- Use the original ID pointer for lookup in DEG_get_eval_flags_for_id.
- When the flags change after a DEG rebuild, tag the object for update.
- Instead of mixing int and short in different places, use uint32_t.
This fixes text not updating when a Follow Curve reference is set.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h index 32330f5680d..e5854fa8d20 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h @@ -201,7 +201,7 @@ struct DepsgraphRelationBuilder bool check_unique = false); void add_customdata_mask(const ComponentKey &key, uint64_t mask); - void add_special_eval_flag(ID *object, short flag); + void add_special_eval_flag(ID *object, uint32_t flag); void build_id(ID *id); void build_layer_collections(ListBase *lb); |