Blender  V3.3
Public Attributes | List of all members
BMLog Struct Reference

Public Attributes

struct RangeTreeUInt * unused_ids
 
GHashid_to_elem
 
GHashelem_to_id
 
ListBase entries
 
BMLogEntrycurrent_entry
 

Detailed Description

Definition at line 64 of file bmesh_log.c.

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 93 of file bmesh_log.c.

◆ elem_to_id

GHash* BMLog::elem_to_id

Definition at line 79 of file bmesh_log.c.

◆ entries

ListBase BMLog::entries

All #BMLogEntrys, ordered from earliest to most recent.

Definition at line 82 of file bmesh_log.c.

◆ 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 78 of file bmesh_log.c.

◆ unused_ids

struct RangeTreeUInt* BMLog::unused_ids

Tree of free IDs

Definition at line 66 of file bmesh_log.c.


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