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/node/deg_node_operation.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/depsgraph/intern/node/deg_node_operation.cc') diff --git a/source/blender/depsgraph/intern/node/deg_node_operation.cc b/source/blender/depsgraph/intern/node/deg_node_operation.cc index f852a32450d..893c108dc5a 100644 --- a/source/blender/depsgraph/intern/node/deg_node_operation.cc +++ b/source/blender/depsgraph/intern/node/deg_node_operation.cc @@ -41,7 +41,9 @@ const char *operationCodeAsString(OperationCode opcode) /* Generic Operations. */ case OperationCode::OPERATION: return "OPERATION"; case OperationCode::ID_PROPERTY: return "ID_PROPERTY"; + case OperationCode::PARAMETERS_ENTRY: return "PARAMETERS_ENTRY"; case OperationCode::PARAMETERS_EVAL: return "PARAMETERS_EVAL"; + case OperationCode::PARAMETERS_EXIT: return "PARAMETERS_EXIT"; /* Animation, Drivers, etc. */ case OperationCode::ANIMATION_ENTRY: return "ANIMATION_ENTRY"; case OperationCode::ANIMATION_EVAL: return "ANIMATION_EVAL"; -- cgit v1.2.3