Depsgraph: Remove old comments which are likely outdated
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Dec 2017 17:06:52 +0000 (18:06 +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 f821d6c9bf9576118f26f6435f854f2505ee9828..1f6d0f4ff567a61f66dd2f5550a69f620bf55cc3 100644 (file)
@@ -963,12 +963,6 @@ void DepsgraphRelationBuilder::build_driver(ID *id, FCurve *fcu)
                                fcu->array_index);
        const char *rna_path = fcu->rna_path ? fcu->rna_path : "";
        const RNAPathKey self_key(id, rna_path);
-
-       /* Create dependency between driver and data affected by it. */
-       /* - direct property relationship... */
-       //RNAPathKey affected_key(id, fcu->rna_path);
-       //add_relation(driver_key, affected_key, "Driver -> Data");
-
        /* Driver -> data components (for interleaved evaluation
         * bones/constraints/modifiers).
         */
@@ -1033,15 +1027,6 @@ void DepsgraphRelationBuilder::build_driver(ID *id, FCurve *fcu)
                RNAPathKey target_key(id, rna_path);
                add_relation(driver_key, target_key, "Driver -> Target");
        }
-       /* Ensure that affected prop's update callbacks will be triggered once
-        * done.
-        */
-       /* TODO: Implement this once the functionality to add these links exists
-        * RNA.
-        */
-       /* XXX: the data itself could also set this, if it were to be truly
-        * initialised later?
-        */
        /* Loop over variables to get the target relationships. */
        build_driver_variables(id, fcu);
        /* It's quite tricky to detect if the driver actually depends on time or