Depsgraph: Remove workaround for animated geometry component
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 5 Dec 2017 15:21:28 +0000 (16:21 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Dec 2017 09:21:33 +0000 (10:21 +0100)
source/blender/depsgraph/intern/builder/deg_builder_relations.cc

index 046b44b3c5c8e9af21ca93334d6d8be07965170d..6b84e3ba1c1c5252d0a2e277adee09fe83492c86 100644 (file)
@@ -1619,16 +1619,6 @@ void DepsgraphRelationBuilder::build_obdata_geom(Object *object)
        if (key) {
                build_shapekeys(obdata, key);
        }
-
-       if (needs_animdata_node(obdata)) {
-               ComponentKey animation_key(obdata, DEG_NODE_TYPE_ANIMATION);
-               ComponentKey parameters_key(obdata, DEG_NODE_TYPE_PARAMETERS);
-               add_relation(animation_key, parameters_key, "Geom Parameters");
-               /* Evaluation usually depends on animation.
-                * TODO(sergey): Need to re-hook it after granular update is implemented..
-                */
-               add_relation(animation_key, obdata_geom_eval_key, "Animation");
-       }
 }
 
 /* Cameras */