BKE_main: Relations: Add `TO`/`FROM` variants of processed flags.
In some cases, it can be usefull to distinguish when an entry has been processed in which direction (`to` when handling ID pointers used by the entry, `from` when handling ID using this entry). Previous `MAINIDRELATIONS_ENTRY_TAGS_PROCESSED` tag is now a combination of the two new ones.
This commit is contained in:
parent
2c1bffa286
commit
8d61ca5815
|
@ -77,8 +77,16 @@ typedef struct MainIDRelationsEntry {
|
|||
typedef enum eMainIDRelationsEntryTags {
|
||||
/* Generic tag marking the entry as to be processed. */
|
||||
MAINIDRELATIONS_ENTRY_TAGS_DOIT = 1 << 0,
|
||||
|
||||
/* Generic tag marking the entry as processed in the `to` direction (i.e. we processed the IDs
|
||||
* used by this item). */
|
||||
MAINIDRELATIONS_ENTRY_TAGS_PROCESSED_TO = 1 << 1,
|
||||
/* Generic tag marking the entry as processed in the `from` direction (i.e. we processed the IDs
|
||||
* using by this item). */
|
||||
MAINIDRELATIONS_ENTRY_TAGS_PROCESSED_FROM = 1 << 2,
|
||||
/* Generic tag marking the entry as processed. */
|
||||
MAINIDRELATIONS_ENTRY_TAGS_PROCESSED = 1 << 1,
|
||||
MAINIDRELATIONS_ENTRY_TAGS_PROCESSED = MAINIDRELATIONS_ENTRY_TAGS_PROCESSED_TO |
|
||||
MAINIDRELATIONS_ENTRY_TAGS_PROCESSED_FROM,
|
||||
} eMainIDRelationsEntryTags;
|
||||
|
||||
typedef struct MainIDRelations {
|
||||
|
|
Loading…
Reference in New Issue