Blender V5.0
BMLogEntry Struct Reference

Public Attributes

BMLogEntrynext
BMLogEntryprev
blender::Map< uint, BMLogVert *, 0 > deleted_verts
blender::Map< uint, BMLogFace *, 0 > deleted_faces
blender::Map< uint, BMLogVert *, 0 > added_verts
blender::Map< uint, BMLogFace *, 0 > added_faces
blender::Map< uint, BMLogVert *, 0 > modified_verts
blender::Map< uint, BMLogFace *, 0 > modified_faces
blender::Pool< BMLogVertvert_pool
blender::Pool< BMLogFaceface_pool
blender::Vector< BMLogVert *, 0 > allocated_verts
blender::Vector< BMLogFace *, 0 > allocated_faces
BMLoglog

Detailed Description

Definition at line 40 of file bmesh_log.cc.

Member Data Documentation

◆ added_faces

◆ added_verts

blender::Map<uint, BMLogVert *, 0> BMLogEntry::added_verts

Elements that were not in the previous entry, but are in the result of this entry.

Definition at line 50 of file bmesh_log.cc.

Referenced by BM_log_cleanup_entry(), BM_log_entry_drop(), BM_log_from_existing_entries_create(), BM_log_print_entry(), BM_log_redo(), BM_log_undo(), BM_log_vert_before_modified(), and BM_log_vert_removed().

◆ allocated_faces

blender::Vector<BMLogFace *, 0> BMLogEntry::allocated_faces

Definition at line 61 of file bmesh_log.cc.

Referenced by bm_log_entry_free(), and bm_log_face_alloc().

◆ allocated_verts

blender::Vector<BMLogVert *, 0> BMLogEntry::allocated_verts

Definition at line 60 of file bmesh_log.cc.

Referenced by bm_log_entry_free(), and bm_log_vert_alloc().

◆ deleted_faces

◆ deleted_verts

blender::Map<uint, BMLogVert *, 0> BMLogEntry::deleted_verts

Elements that were in the previous entry, but have been deleted.

Definition at line 46 of file bmesh_log.cc.

Referenced by BM_log_cleanup_entry(), BM_log_from_existing_entries_create(), BM_log_print_entry(), BM_log_redo(), BM_log_undo(), and BM_log_vert_removed().

◆ face_pool

blender::Pool<BMLogFace> BMLogEntry::face_pool

Definition at line 58 of file bmesh_log.cc.

Referenced by bm_log_entry_free(), and bm_log_face_alloc().

◆ log

BMLog* BMLogEntry::log

This is only needed for dropping BMLogEntries while still in dynamic-topology mode, as that should release vert/face IDs back to the BMLog but no BMLog pointer is available at that time.

This field is not guaranteed to be valid, any use of it should check for nullptr.

Definition at line 71 of file bmesh_log.cc.

Referenced by BM_log_cleanup_entry(), BM_log_entry_add(), BM_log_entry_drop(), and BM_log_from_existing_entries_create().

◆ modified_faces

blender::Map<uint, BMLogFace *, 0> BMLogEntry::modified_faces

◆ modified_verts

◆ next

BMLogEntry* BMLogEntry::next

◆ prev

BMLogEntry * BMLogEntry::prev

◆ vert_pool

blender::Pool<BMLogVert> BMLogEntry::vert_pool

Definition at line 57 of file bmesh_log.cc.

Referenced by bm_log_entry_free(), and bm_log_vert_alloc().


The documentation for this struct was generated from the following file: