Depsgraph: Use operation code for dupli-group
[blender.git] / source / blender / depsgraph / intern / node / deg_node_operation.h
index 480b33fad835a319dca0280c923cdfaa137d05fd..7a6df7cf1615de96361f0de84d546e7290a4994f 100644 (file)
@@ -84,9 +84,15 @@ 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. */
+       /* Evaluation of geometry is completely done.. */
+       GEOMETRY_EVAL_DONE,
+       /* Evaluation of a shape key.
+        * NOTE: Currently only for object data datablocks. */
        GEOMETRY_SHAPEKEY,
 
        /* Object data. --------------------------------------------------------- */
@@ -168,6 +174,9 @@ enum class OperationCode {
 
        /* Generic datablock ---------------------------------------------------- */
        GENERIC_DATABLOCK_UPDATE,
+
+       /* Duplication/instancing system. --------------------------------------- */
+       DUPLI,
 };
 const char *operationCodeAsString(OperationCode opcode);