Cleanup/refactor: Add a new flag for IDTypes that are not read in memfile undo.
Currently only affects 'UI' IDs (WindowManager, Screen, etc.), but in the future other types may be affected as well. NOTE: this is only used in readfile code itself, not in the post-processing performed by `setup_app_data`, as this code is too specific for such generic handling.
This commit is contained in:
@@ -279,7 +279,8 @@ IDTypeInfo IDType_ID_SCR = {
|
||||
.name = "Screen",
|
||||
.name_plural = "screens",
|
||||
.translation_context = BLT_I18NCONTEXT_ID_SCREEN,
|
||||
.flags = IDTYPE_FLAGS_NO_COPY | IDTYPE_FLAGS_ONLY_APPEND | IDTYPE_FLAGS_NO_ANIMDATA,
|
||||
.flags = IDTYPE_FLAGS_NO_COPY | IDTYPE_FLAGS_ONLY_APPEND | IDTYPE_FLAGS_NO_ANIMDATA |
|
||||
IDTYPE_FLAGS_NO_MEMFILE_UNDO,
|
||||
.asset_type_info = NULL,
|
||||
|
||||
.init_data = NULL,
|
||||
|
||||
Reference in New Issue
Block a user