Depsgraph: Remove evaluation priority completely
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Dec 2017 10:15:21 +0000 (11:15 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Dec 2017 10:15:21 +0000 (11:15 +0100)
source/blender/depsgraph/intern/depsgraph_eval.cc
source/blender/depsgraph/intern/nodes/deg_node_operation.cc
source/blender/depsgraph/intern/nodes/deg_node_operation.h

index ab10f9730c0be70de04ba6aaac0f1daf038a2b81..0448dbe2c8d708d14fd3896d396f51a808efb9e5 100644 (file)
@@ -57,9 +57,6 @@ extern "C" {
 static bool use_legacy_depsgraph = true;
 #endif
 
-/* Unfinished and unused, and takes quite some pre-processing time. */
-#undef USE_EVAL_PRIORITY
-
 bool DEG_depsgraph_use_legacy(void)
 {
 #ifdef DISABLE_NEW_DEPSGRAPH
index 0fc87a52005e0033b3ee09c8c587ef2d097277a8..cbc0fbb4241fba28d8a20c2354891f8f0cbd88b5 100644 (file)
@@ -45,7 +45,6 @@ namespace DEG {
 /* Inner Nodes */
 
 OperationDepsNode::OperationDepsNode() :
-    eval_priority(0.0f),
     flag(0),
     customdata_mask(0)
 {
index ffb95a53b5d5658793d8d70012976f34c7fbd02f..c172f73be5f15eefaf8952c8d19f3ba60fadf919 100644 (file)
@@ -76,7 +76,6 @@ struct OperationDepsNode : public DepsNode {
 
        /* How many inlinks are we still waiting on before we can be evaluated. */
        uint32_t num_links_pending;
-       float eval_priority;
        bool scheduled;
 
        /* Identifier for the operation being performed. */