Depsgraph: Parameters component does exist in objects

This commit is contained in:
Sergey Sharybin 2017-11-27 16:34:44 +01:00
parent f046af4d5d
commit 29044cfb12
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}