From 700e3cc2a87a20f2ce3f8af31ece4df1b13e0ba8 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 1 Feb 2019 10:37:14 +0100 Subject: Depsgraph: Use operation code for geometry evaluation init Makes it more explicit and avoids strings comparisons during build. --- source/blender/depsgraph/intern/node/deg_node_operation.cc | 1 + 1 file changed, 1 insertion(+) (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 68a359a09ed..90044519596 100644 --- a/source/blender/depsgraph/intern/node/deg_node_operation.cc +++ b/source/blender/depsgraph/intern/node/deg_node_operation.cc @@ -64,6 +64,7 @@ const char *operationCodeAsString(OperationCode opcode) case OperationCode::RIGIDBODY_TRANSFORM_COPY: return "RIGIDBODY_TRANSFORM_COPY"; /* Geometry. */ + case OperationCode::GEOMETRY_EVAL_INIT: return "GEOMETRY_EVAL_INIT"; case OperationCode::GEOMETRY_EVAL: return "GEOMETRY_EVAL"; case OperationCode::GEOMETRY_SHAPEKEY: return "GEOMETRY_SHAPEKEY"; /* Object data. */ -- cgit v1.2.3