From c985c60bdc7cfc6914d583cf5179a03aaa68b302 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 20 Feb 2019 11:48:42 +0100 Subject: Depsgraph: Fix relation when lamp has driver on custom property Was once again caused by an ambiguity of the entry/exit operations. Only did for objects since those are the only one who needs this. The rest types of IDs needs to be checked and only added extra operations if needed (adding operations and relations causes some overhead for evaluation, so need to be careful). --- source/blender/depsgraph/intern/builder/deg_builder_nodes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.h') diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h index ce3c6995fe7..40e710e755d 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h @@ -192,6 +192,7 @@ struct DepsgraphNodeBuilder { void build_driver(ID *id, FCurve *fcurve, int driver_index); void build_driver_variables(ID *id, FCurve *fcurve); void build_driver_id_property(ID *id, const char *rna_path); + void build_parameters(ID *id); void build_ik_pose(Object *object, bPoseChannel *pchan, bConstraint *con); -- cgit v1.2.3