Blender
V3.3
|
Public Attributes | |
struct RangeTreeUInt * | unused_ids |
GHash * | id_to_elem |
GHash * | elem_to_id |
ListBase | entries |
BMLogEntry * | current_entry |
Definition at line 64 of file bmesh_log.c.
BMLogEntry* BMLog::current_entry |
The current log entry from entries list
If null, then the original mesh from before any of the log entries is current (i.e. there is nothing left to undo.)
If equal to the last entry in the entries list, then all log entries have been applied (i.e. there is nothing left to redo.)
Definition at line 93 of file bmesh_log.c.
GHash* BMLog::elem_to_id |
Definition at line 79 of file bmesh_log.c.
ListBase BMLog::entries |
All #BMLogEntrys, ordered from earliest to most recent.
Definition at line 82 of file bmesh_log.c.
GHash* BMLog::id_to_elem |
Mapping from unique IDs to vertices and faces
Each vertex and face in the log gets a unique uint
assigned. That ID is taken from the set managed by the unused_ids range tree.
The ID is needed because element pointers will change as they are created and deleted.
Definition at line 78 of file bmesh_log.c.
struct RangeTreeUInt* BMLog::unused_ids |
Tree of free IDs
Definition at line 66 of file bmesh_log.c.