diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-01 12:37:14 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-01 17:40:19 +0300 |
commit | 700e3cc2a87a20f2ce3f8af31ece4df1b13e0ba8 (patch) | |
tree | 5225d245fb73cccf4a2384e00fd01459548825ed /source/blender/depsgraph/intern/node/deg_node_operation.h | |
parent | 6a54f3bb49209305bdb3999273d128a9e77878bc (diff) |
Depsgraph: Use operation code for geometry evaluation init
Makes it more explicit and avoids strings comparisons during build.
Diffstat (limited to 'source/blender/depsgraph/intern/node/deg_node_operation.h')
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node_operation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node_operation.h b/source/blender/depsgraph/intern/node/deg_node_operation.h index 480b33fad83..3cb49ccebfe 100644 --- a/source/blender/depsgraph/intern/node/deg_node_operation.h +++ b/source/blender/depsgraph/intern/node/deg_node_operation.h @@ -84,6 +84,9 @@ enum class OperationCode { /* Geometry. ------------------------------------------------------------ */ + /* Initialize evaluation of the geometry. Is an entry operation of geometry + * component. */ + GEOMETRY_EVAL_INIT, /* Evaluate the whole geometry, including modifiers. */ GEOMETRY_EVAL, /* Evaluation of a shape key. */ |