Depsgraph: Use operation code for dupli-group
[blender.git] / source / blender / depsgraph / intern / node / deg_node_operation.h
index 3cb49ccebfef14a8577e4ae9707194a91576e8f5..7a6df7cf1615de96361f0de84d546e7290a4994f 100644 (file)
@@ -89,7 +89,10 @@ enum class OperationCode {
        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. --------------------------------------------------------- */
@@ -171,6 +174,9 @@ enum class OperationCode {
 
        /* Generic datablock ---------------------------------------------------- */
        GENERIC_DATABLOCK_UPDATE,
+
+       /* Duplication/instancing system. --------------------------------------- */
+       DUPLI,
 };
 const char *operationCodeAsString(OperationCode opcode);