Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / builder / deg_builder_nodes.cc
index db9b895ffda6c4ee8a3181437188462c598e6a40..a95b498280abd1cdd246d67928dc6b7597d22b11 100644 (file)
@@ -753,17 +753,8 @@ void DepsgraphNodeBuilder::build_obdata_geom(Scene *scene, Object *ob)
 
        // TODO: "Done" operation
 
-       /* Modifiers */
+       /* Cloyth modifier. */
        LINKLIST_FOREACH (ModifierData *, md, &ob->modifiers) {
-               add_operation_node(&ob->id,
-                                  DEG_NODE_TYPE_GEOMETRY,
-                                  function_bind(BKE_object_eval_modifier,
-                                                _1,
-                                                scene,
-                                                ob,
-                                                md),
-                                  DEG_OPCODE_GEOMETRY_MODIFIER,
-                                  md->name);
                if (md->type == eModifierType_Cloth) {
                        build_cloth(scene, ob);
                }