Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_vertex_color_ops.c
| Context not available. | |||||
| (me && me->totpoly && me->dvert); | (me && me->totpoly && me->dvert); | ||||
| } | } | ||||
| static void tag_object_after_update(Object *object) | |||||
| { | |||||
| BLI_assert(object->type == OB_MESH); | |||||
| Mesh *mesh = object->data; | |||||
| DEG_id_tag_update(&mesh->id, DEG_TAG_COPY_ON_WRITE); | |||||
| /* NOTE: Original mesh is used for display, so tag it directly here. */ | |||||
| BKE_mesh_batch_cache_dirty_tag(mesh, BKE_MESH_BATCH_DIRTY_ALL); | |||||
| } | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Set Vertex Colors Operator | /** \name Set Vertex Colors Operator | ||||
| * \{ */ | * \{ */ | ||||
| Context not available. | |||||