Commit: b31e84a4b3d8f9c861c216f2f8e88d3c912ec53f
Author: Sergey Sharybin
Date:   Wed Jun 7 12:53:38 2017 +0200
Branches: master
https://developer.blender.org/rBb31e84a4b3d8f9c861c216f2f8e88d3c912ec53f

Depsgraph: Remove unused operation codes

===================================================================

M       source/blender/depsgraph/intern/depsgraph_type_defines.cc
M       source/blender/depsgraph/intern/depsgraph_types.h

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_type_defines.cc 
b/source/blender/depsgraph/intern/depsgraph_type_defines.cc
index a8ba954ed1f..d688387f862 100644
--- a/source/blender/depsgraph/intern/depsgraph_type_defines.cc
+++ b/source/blender/depsgraph/intern/depsgraph_type_defines.cc
@@ -97,10 +97,8 @@ static const char *stringify_opcode(eDepsOperation_Code 
opcode)
 #define STRINGIFY_OPCODE(name) case DEG_OPCODE_##name: return #name
                STRINGIFY_OPCODE(OPERATION);
                STRINGIFY_OPCODE(PLACEHOLDER);
-               STRINGIFY_OPCODE(NOOP);
                STRINGIFY_OPCODE(ANIMATION);
                STRINGIFY_OPCODE(DRIVER);
-               //STRINGIFY_OPCODE(PROXY);
                STRINGIFY_OPCODE(TRANSFORM_LOCAL);
                STRINGIFY_OPCODE(TRANSFORM_PARENT);
                STRINGIFY_OPCODE(TRANSFORM_CONSTRAINTS);
diff --git a/source/blender/depsgraph/intern/depsgraph_types.h 
b/source/blender/depsgraph/intern/depsgraph_types.h
index 4a69bb32727..392ba672e93 100644
--- a/source/blender/depsgraph/intern/depsgraph_types.h
+++ b/source/blender/depsgraph/intern/depsgraph_types.h
@@ -141,8 +141,6 @@ typedef enum eDepsOperation_Code {
        // XXX: Placeholder while porting depsgraph code
        DEG_OPCODE_PLACEHOLDER,
 
-       DEG_OPCODE_NOOP,
-
        /* Animation, Drivers, etc. ------------------------ */
 
        /* NLA + Action */
@@ -151,9 +149,6 @@ typedef enum eDepsOperation_Code {
        /* Driver */
        DEG_OPCODE_DRIVER,
 
-       /* Proxy Inherit? */
-       //DEG_OPCODE_PROXY,
-
        /* Transform --------------------------------------- */
 
        /* Transform entry point - local transforms only */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to