Depsgraph: Fix assert failure
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 29 Nov 2017 13:58:37 +0000 (14:58 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 29 Nov 2017 13:58:37 +0000 (14:58 +0100)
source/blender/depsgraph/intern/eval/deg_eval_flush.cc

index 83fc756654f7452786812047eac0c73825ed56d5..dcd9a17761de84a07754ce7916a00dea5bb229f7 100644 (file)
@@ -175,7 +175,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!");
@@ -195,6 +194,8 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
                                                case DEG_NODE_TYPE_PROXY:
                                                        object->recalc |= OB_RECALC_DATA;
                                                        break;
+                                               case DEG_NODE_TYPE_PARAMETERS:
+                                                       break;
                                        }
                                }
                                /* When some target changes bone, we might need to re-run the