Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/object_update.c')
-rw-r--r--source/blender/blenkernel/intern/object_update.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c
index 52e3d4a0803..54d21c261fc 100644
--- a/source/blender/blenkernel/intern/object_update.c
+++ b/source/blender/blenkernel/intern/object_update.c
@@ -302,25 +302,25 @@ void BKE_object_eval_uber_transform(Depsgraph *depsgraph, Object *object)
BKE_object_eval_proxy_copy(depsgraph, object);
}
-void BKE_object_batch_cache_dirty(Object *ob)
+void BKE_object_batch_cache_dirty_tag(Object *ob)
{
switch (ob->type) {
case OB_MESH:
- BKE_mesh_batch_cache_dirty(ob->data, BKE_MESH_BATCH_DIRTY_ALL);
+ BKE_mesh_batch_cache_dirty_tag(ob->data, BKE_MESH_BATCH_DIRTY_ALL);
break;
case OB_LATTICE:
- BKE_lattice_batch_cache_dirty(ob->data, BKE_LATTICE_BATCH_DIRTY_ALL);
+ BKE_lattice_batch_cache_dirty_tag(ob->data, BKE_LATTICE_BATCH_DIRTY_ALL);
break;
case OB_CURVE:
case OB_FONT:
case OB_SURF:
- BKE_curve_batch_cache_dirty(ob->data, BKE_CURVE_BATCH_DIRTY_ALL);
+ BKE_curve_batch_cache_dirty_tag(ob->data, BKE_CURVE_BATCH_DIRTY_ALL);
break;
case OB_MBALL:
- BKE_mball_batch_cache_dirty(ob->data, BKE_MBALL_BATCH_DIRTY_ALL);
+ BKE_mball_batch_cache_dirty_tag(ob->data, BKE_MBALL_BATCH_DIRTY_ALL);
break;
case OB_GPENCIL:
- BKE_gpencil_batch_cache_dirty(ob->data);
+ BKE_gpencil_batch_cache_dirty_tag(ob->data);
break;
}
}
@@ -332,7 +332,7 @@ void BKE_object_eval_uber_data(Depsgraph *depsgraph,
DEG_debug_print_eval(depsgraph, __func__, ob->id.name, ob);
BLI_assert(ob->type != OB_ARMATURE);
BKE_object_handle_data_update(depsgraph, scene, ob);
- BKE_object_batch_cache_dirty(ob);
+ BKE_object_batch_cache_dirty_tag(ob);
}
void BKE_object_eval_cloth(Depsgraph *depsgraph,
@@ -363,7 +363,7 @@ void BKE_object_eval_update_shading(Depsgraph *depsgraph, Object *object)
{
DEG_debug_print_eval(depsgraph, __func__, object->id.name, object);
if (object->type == OB_MESH) {
- BKE_mesh_batch_cache_dirty(object->data, BKE_MESH_BATCH_DIRTY_SHADING);
+ BKE_mesh_batch_cache_dirty_tag(object->data, BKE_MESH_BATCH_DIRTY_SHADING);
}
}
@@ -372,15 +372,15 @@ void BKE_object_data_select_update(Depsgraph *depsgraph, ID *object_data)
DEG_debug_print_eval(depsgraph, __func__, object_data->name, object_data);
switch (GS(object_data->name)) {
case ID_ME:
- BKE_mesh_batch_cache_dirty((Mesh *)object_data,
+ BKE_mesh_batch_cache_dirty_tag((Mesh *)object_data,
BKE_CURVE_BATCH_DIRTY_SELECT);
break;
case ID_CU:
- BKE_curve_batch_cache_dirty((Curve *)object_data,
+ BKE_curve_batch_cache_dirty_tag((Curve *)object_data,
BKE_CURVE_BATCH_DIRTY_SELECT);
break;
case ID_LT:
- BKE_lattice_batch_cache_dirty((struct Lattice *)object_data,
+ BKE_lattice_batch_cache_dirty_tag((struct Lattice *)object_data,
BKE_CURVE_BATCH_DIRTY_SELECT);
break;
default:
@@ -423,7 +423,7 @@ void BKE_object_eval_flush_base_flags(Depsgraph *depsgraph,
psys != NULL;
psys = psys->next)
{
- BKE_particle_batch_cache_dirty(psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
+ BKE_particle_batch_cache_dirty_tag(psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
}
}
}