Depsgraph: Remove dead/unused operation codes
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 7 Jun 2017 10:47:19 +0000 (12:47 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 7 Jun 2017 10:47:19 +0000 (12:47 +0200)
source/blender/depsgraph/intern/depsgraph_type_defines.cc
source/blender/depsgraph/intern/depsgraph_types.h

index b860ae03c70ac10062b0ad36252f17f96093f4d1..a8ba954ed1fadc36fb45b4ed0882a520094e4aea 100644 (file)
@@ -104,9 +104,6 @@ static const char *stringify_opcode(eDepsOperation_Code opcode)
                STRINGIFY_OPCODE(TRANSFORM_LOCAL);
                STRINGIFY_OPCODE(TRANSFORM_PARENT);
                STRINGIFY_OPCODE(TRANSFORM_CONSTRAINTS);
-               //STRINGIFY_OPCODE(TRANSFORM_CONSTRAINTS_INIT);
-               //STRINGIFY_OPCODE(TRANSFORM_CONSTRAINT);
-               //STRINGIFY_OPCODE(TRANSFORM_CONSTRAINTS_DONE);
                STRINGIFY_OPCODE(RIGIDBODY_REBUILD);
                STRINGIFY_OPCODE(RIGIDBODY_SIM);
                STRINGIFY_OPCODE(TRANSFORM_RIGIDBODY);
@@ -122,9 +119,6 @@ static const char *stringify_opcode(eDepsOperation_Code opcode)
                STRINGIFY_OPCODE(BONE_LOCAL);
                STRINGIFY_OPCODE(BONE_POSE_PARENT);
                STRINGIFY_OPCODE(BONE_CONSTRAINTS);
-               //STRINGIFY_OPCODE(BONE_CONSTRAINTS_INIT);
-               //STRINGIFY_OPCODE(BONE_CONSTRAINT);
-               //STRINGIFY_OPCODE(BONE_CONSTRAINTS_DONE);
                STRINGIFY_OPCODE(BONE_READY);
                STRINGIFY_OPCODE(BONE_DONE);
                STRINGIFY_OPCODE(PSYS_EVAL);
index c6960bf1351a6886839e40b3e07454bbe5b7189c..4a69bb327275873a058adf604b2d683a2849d605 100644 (file)
@@ -164,9 +164,6 @@ typedef enum eDepsOperation_Code {
 
        /* Constraints */
        DEG_OPCODE_TRANSFORM_CONSTRAINTS,
-       //DEG_OPCODE_TRANSFORM_CONSTRAINTS_INIT,
-       //DEG_OPCODE_TRANSFORM_CONSTRAINT,
-       //DEG_OPCODE_TRANSFORM_CONSTRAINTS_DONE,
 
        /* Rigidbody Sim - Perform Sim */
        DEG_OPCODE_RIGIDBODY_REBUILD,
@@ -214,9 +211,6 @@ typedef enum eDepsOperation_Code {
 
        /* Constraints */
        DEG_OPCODE_BONE_CONSTRAINTS,
-       //DEG_OPCODE_BONE_CONSTRAINTS_INIT,
-       //DEG_OPCODE_BONE_CONSTRAINT,
-       //DEG_OPCODE_BONE_CONSTRAINTS_DONE,
 
        /* Bone transforms are ready
         *