Blender V4.3
BMLog Struct Reference

Public Attributes

RangeTreeUInt * unused_ids
 
GHashid_to_elem
 
GHashelem_to_id
 
ListBase entries
 
BMLogEntrycurrent_entry
 

Detailed Description

Definition at line 66 of file bmesh_log.cc.

Member Data Documentation

◆ current_entry

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 95 of file bmesh_log.cc.

◆ elem_to_id

GHash* BMLog::elem_to_id

Definition at line 81 of file bmesh_log.cc.

◆ entries

ListBase BMLog::entries

All #BMLogEntrys, ordered from earliest to most recent.

Definition at line 84 of file bmesh_log.cc.

◆ id_to_elem

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 80 of file bmesh_log.cc.

◆ unused_ids

RangeTreeUInt* BMLog::unused_ids

Tree of free IDs

Definition at line 68 of file bmesh_log.cc.


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