|
Blender V5.0
|
Public Attributes | |
| Main * | new_bmain |
| Main * | old_bmain |
| BlendFileReadWMSetupData * | wm_setup_data |
| id::IDRemapper * | remapper |
| bool | is_libraries_remapped |
| IDNameLib_Map * | id_map |
Helper struct to manage IDs that are re-used across blend-file loading (i.e. moved from the old Main the new one).
NOTE: this is only used when actually loading a real .blend file, loading of memfile undo steps does not need it.
Definition at line 234 of file blendfile.cc.
| IDNameLib_Map* ReuseOldBMainData::id_map |
Used to find matching IDs by name/lib in new main, to remap ID usages of data ported over from old main.
Definition at line 257 of file blendfile.cc.
Referenced by setup_app_data(), swap_old_bmain_data_dependencies_process(), and swap_old_bmain_data_for_blendfile_dependencies_process_cb().
| bool ReuseOldBMainData::is_libraries_remapped |
Definition at line 251 of file blendfile.cc.
Referenced by reuse_bmain_data_remapper_ensure().
| Main* ReuseOldBMainData::new_bmain |
Definition at line 235 of file blendfile.cc.
Referenced by reuse_bmain_data_invalid_local_usages_fix(), reuse_bmain_data_remapper_ensure(), reuse_bmain_move_id(), reuse_editable_asset_bmain_data_for_blendfile(), setup_app_data(), swap_old_bmain_data_dependencies_process(), swap_old_bmain_data_for_blendfile(), and swap_wm_data_for_blendfile().
| Main* ReuseOldBMainData::old_bmain |
Definition at line 236 of file blendfile.cc.
Referenced by reuse_bmain_data_remapper_ensure(), reuse_bmain_move_id(), reuse_editable_asset_bmain_data_for_blendfile(), reuse_editable_asset_needed(), setup_app_data(), swap_old_bmain_data_for_blendfile(), swap_wm_data_for_blendfile(), and unpin_file_local_grease_pencil_brush_materials().
| id::IDRemapper* ReuseOldBMainData::remapper |
Storage for all remapping rules (old_id -> new_id) required by the preservation of old IDs into the new Main.
Definition at line 250 of file blendfile.cc.
Referenced by reuse_bmain_data_remapper_ensure(), and setup_app_data().
| BlendFileReadWMSetupData* ReuseOldBMainData::wm_setup_data |
Data generated and used by calling WM code to handle keeping WM and UI IDs as best as possible across file reading.
Definition at line 244 of file blendfile.cc.
Referenced by setup_app_data(), and swap_wm_data_for_blendfile().