Update code comments from DAG_id_tag_update to DEG_id_tag_update
authorDalai Felinto <dfelinto@gmail.com>
Wed, 16 Aug 2017 09:52:27 +0000 (11:52 +0200)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 16 Aug 2017 10:00:45 +0000 (12:00 +0200)
source/blender/blenkernel/intern/paint.c
source/blender/depsgraph/intern/depsgraph_query.cc
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/mesh/editmesh_utils.c
source/blender/editors/render/render_update.c
source/blender/editors/sculpt_paint/sculpt.c

index cc195f67a7a5b3e861e56025f620470f14b97c09..81b26f13a9f941e7d7b53fa822c74187dc53e6b5 100644 (file)
@@ -711,7 +711,7 @@ void BKE_sculptsession_bm_to_me_for_render(Object *object)
                if (object->sculpt->bm) {
                        /* Ensure no points to old arrays are stored in DM
                         *
-                        * Apparently, we could not use DAG_id_tag_update
+                        * Apparently, we could not use DEG_id_tag_update
                         * here because this will lead to the while object
                         * surface to disappear, so we'll release DM in place.
                         */
index 0dd3cfaa783f5e7be6156bae53c4697e03157707..7d0ac47e6fda4aa6d38bbb4f3c55aa110b560f8c 100644 (file)
@@ -222,7 +222,7 @@ void DEG_objects_iterator_next(BLI_Iterator *iter)
 
                        /* Make sure we have the base collection settings is already populated.
                         * This will fail when BKE_layer_eval_layer_collection_pre hasn't run yet
-                        * Which usually means a missing call to DAG_id_tag_update(). */
+                        * Which usually means a missing call to DEG_id_tag_update(). */
                        BLI_assert(!BLI_listbase_is_empty(&base->collection_properties->data.group));
 
                        /* Flushing depsgraph data. */
index cbed6a37c1f17881fe3721e95c4b584b9e6f14e9..62d087257ea9c4e4f0b047ffef8b9445ef8e9441 100644 (file)
@@ -5063,7 +5063,7 @@ static void sort_bmelem_flag(Scene *scene, Object *ob,
        }
 
        BM_mesh_remap(em->bm, map[0], map[1], map[2]);
-/*     DAG_id_tag_update(ob->data, 0);*/
+/*     DEG_id_tag_update(ob->data, 0);*/
 
        for (j = 3; j--; ) {
                if (map[j])
index 555fe6c917d90056230780d04af63813f065779b..f24b7911e34201fcbbc011a80cd2ac9179af08a3 100644 (file)
@@ -383,7 +383,7 @@ void EDBM_mesh_make(ToolSettings *ts, Object *ob, const bool add_key_index)
 
 /**
  * \warning This can invalidate the #DerivedMesh cache of other objects (for linked duplicates).
- * Most callers should run #DAG_id_tag_update on \a ob->data, see: T46738, T46913
+ * Most callers should run #DEG_id_tag_update on \a ob->data, see: T46738, T46913
  */
 void EDBM_mesh_load(Object *ob)
 {
index 3a9d11be3fdfa18f57711e962dc4b03aa6f0ee64..67354a70e4a28028987324f311833c713422383e 100644 (file)
@@ -202,7 +202,7 @@ void ED_render_engine_changed(Main *bmain)
 }
 
 /***************************** Updates ***********************************
- * ED_render_id_flush_update gets called from DAG_id_tag_update, to do   *
+ * ED_render_id_flush_update gets called from DEG_id_tag_update, to do   *
  * editor level updates when the ID changes. when these ID blocks are in *
  * the dependency graph, we can get rid of the manual dependency checks  */
 
index ac1c16f1d76c6d21079cffaad05903a0d8e5fbe1..236aa5a1c6aa7a8f783f8907755d0edaaeee6c68 100644 (file)
@@ -4734,7 +4734,7 @@ static void sculpt_stroke_update_step(bContext *C, struct PaintStroke *UNUSED(st
         * Could be optimized later, but currently don't think it's so
         * much common scenario.
         *
-        * Same applies to the DAG_id_tag_update() invoked from
+        * Same applies to the DEG_id_tag_update() invoked from
         * sculpt_flush_update().
         */
        if (ss->modifiers_active) {