[Bf-blender-cvs] [29044cfb122] blender2.8: Depsgraph: Parameters component does exist in objects

Sergey Sharybin noreply at git.blender.org
Mon Nov 27 16:35:22 CET 2017


Commit: 29044cfb122cc9af421931344548068a9fb09358
Author: Sergey Sharybin
Date:   Mon Nov 27 16:34:44 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB29044cfb122cc9af421931344548068a9fb09358

Depsgraph: Parameters component does exist in objects

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

M	source/blender/depsgraph/intern/eval/deg_eval_flush.cc

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

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
index 715a95432c0..2a815934e92 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
@@ -188,7 +188,6 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
 						case DEG_NODE_TYPE_OPERATION:
 						case DEG_NODE_TYPE_TIMESOURCE:
 						case DEG_NODE_TYPE_ID_REF:
-						case DEG_NODE_TYPE_PARAMETERS:
 						case DEG_NODE_TYPE_SEQUENCER:
 							/* Ignore, does not translate to object component. */
 							BLI_assert(!"This should never happen!");
@@ -209,9 +208,10 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
 							object->recalc |= OB_RECALC_DATA;
 							break;
 						case DEG_NODE_TYPE_BATCH_CACHE:
-						case DEG_NODE_TYPE_SHADING_PARAMETERS:
-						case DEG_NODE_TYPE_LAYER_COLLECTIONS:
 						case DEG_NODE_TYPE_COPY_ON_WRITE:
+						case DEG_NODE_TYPE_LAYER_COLLECTIONS:
+						case DEG_NODE_TYPE_PARAMETERS:
+						case DEG_NODE_TYPE_SHADING_PARAMETERS:
 							/* Ignore, does not translate to recalc flags. */
 							break;
 					}



More information about the Bf-blender-cvs mailing list