|
| static uint | blender::bm_log_vert_id_get (BMLog *log, BMVert *v) |
| static void | blender::bm_log_vert_id_set (BMLog *log, BMVert *v, const uint id) |
| static BMVert * | blender::bm_log_vert_from_id (BMLog *log, const uint id) |
| static uint | blender::bm_log_face_id_get (BMLog *log, BMFace *f) |
| static void | blender::bm_log_face_id_set (BMLog *log, BMFace *f, const uint id) |
| static BMFace * | blender::bm_log_face_from_id (BMLog *log, const uint id) |
| static float | blender::vert_mask_get (BMVert *v, const int cd_vert_mask_offset) |
| static void | blender::vert_mask_set (BMVert *v, const float new_mask, const int cd_vert_mask_offset) |
| static void | blender::bm_log_vert_bmvert_copy (BMLogVert *lv, BMVert *v, const int cd_vert_mask_offset) |
| static BMLogVert * | blender::bm_log_vert_alloc (BMLog *log, BMVert *v, const int cd_vert_mask_offset) |
| static BMLogFace * | blender::bm_log_face_alloc (BMLog *log, BMFace *f) |
| static void | blender::bm_log_verts_unmake (BMesh *bm, BMLog *log, const Map< uint, BMLogVert *, 0 > &verts) |
| static void | blender::bm_log_faces_unmake (BMesh *bm, BMLog *log, const Map< uint, BMLogFace *, 0 > &faces) |
| static void | blender::bm_log_verts_restore (BMesh *bm, BMLog *log, const Map< uint, BMLogVert *, 0 > &verts) |
| static void | blender::bm_log_faces_restore (BMesh *bm, BMLog *log, const Map< uint, BMLogFace *, 0 > &faces) |
| static void | blender::bm_log_vert_values_swap (BMesh *bm, BMLog *log, const Map< uint, BMLogVert *, 0 > &verts) |
| static void | blender::bm_log_face_values_swap (BMLog *log, const Map< uint, BMLogFace *, 0 > &faces) |
| static void | blender::bm_log_assign_ids (BMesh *bm, BMLog *log) |
| static BMLogEntry * | blender::bm_log_entry_create () |
| static void | blender::bm_log_entry_free (BMLogEntry *entry) |
| BMLog * | blender::BM_log_create (BMesh *bm) |
| void | blender::BM_log_cleanup_entry (BMLogEntry *entry) |
| BMLog * | blender::BM_log_from_existing_entries_create (BMesh *bm, BMLogEntry *entry) |
| void | blender::BM_log_free (BMLog *log) |
| BMLogEntry * | blender::BM_log_entry_add (BMLog *log) |
| void | blender::BM_log_entry_drop (BMLogEntry *entry) |
| void | blender::BM_log_undo (BMesh *bm, BMLog *log) |
| void | blender::BM_log_redo (BMesh *bm, BMLog *log) |
| void | blender::BM_log_vert_before_modified (BMLog *log, BMVert *v, const int cd_vert_mask_offset) |
| void | blender::BM_log_vert_added (BMLog *log, BMVert *v, const int cd_vert_mask_offset) |
| void | blender::BM_log_face_modified (BMLog *log, BMFace *f) |
| void | blender::BM_log_face_added (BMLog *log, BMFace *f) |
| void | blender::BM_log_vert_removed (BMLog *log, BMVert *v, const int cd_vert_mask_offset) |
| void | blender::BM_log_face_removed (BMLog *log, BMFace *f) |
| void | blender::BM_log_all_added (BMesh *bm, BMLog *log) |
| void | blender::BM_log_before_all_removed (BMesh *bm, BMLog *log) |
| const float * | blender::BM_log_find_original_vert_co (BMLog *log, BMVert *v) |
| const float * | blender::BM_log_find_original_vert_mask (BMLog *log, BMVert *v) |
| void | blender::BM_log_original_vert_data (BMLog *log, BMVert *v, const float **r_co, const float **r_no) |
| BMLogEntry * | blender::BM_log_current_entry (BMLog *log) |
| RangeTreeUInt * | blender::BM_log_unused_ids (BMLog *log) |
| void | blender::BM_log_print (const BMLog *log, const char *description) |
| void | blender::BM_log_print_entry (BMesh *bm, BMLogEntry *entry) |
The BMLog is an interface for storing undo/redo steps as a BMesh is modified. It only stores changes to the BMesh, not full copies.
Currently it supports the following types of changes:
- Adding and removing vertices
- Adding and removing faces
- Moving vertices
- Setting vertex paint-mask values
- Setting vertex hflags
Definition in file bmesh_log.cc.