|
Blender V5.3
|
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 236 of file blendfile.cc.
| IDNameLib_Map* blender::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 259 of file blendfile.cc.
Referenced by blender::setup_app_data(), blender::swap_old_bmain_data_dependencies_process(), and blender::swap_old_bmain_data_for_blendfile_dependencies_process_cb().
| bool blender::ReuseOldBMainData::is_libraries_remapped |
Definition at line 253 of file blendfile.cc.
Referenced by blender::reuse_bmain_data_remapper_ensure().
| Main* blender::ReuseOldBMainData::new_bmain |
Definition at line 237 of file blendfile.cc.
Referenced by blender::reuse_bmain_data_invalid_local_usages_fix(), blender::reuse_bmain_data_remapper_ensure(), blender::reuse_bmain_move_id(), blender::reuse_editable_asset_bmain_data_for_blendfile(), blender::setup_app_data(), blender::swap_old_bmain_data_dependencies_process(), blender::swap_old_bmain_data_for_blendfile(), and blender::swap_wm_data_for_blendfile().
| Main* blender::ReuseOldBMainData::old_bmain |
Definition at line 238 of file blendfile.cc.
Referenced by blender::reuse_bmain_data_remapper_ensure(), blender::reuse_bmain_move_id(), blender::reuse_editable_asset_bmain_data_for_blendfile(), blender::reuse_editable_asset_needed(), blender::setup_app_data(), blender::swap_old_bmain_data_for_blendfile(), blender::swap_wm_data_for_blendfile(), and blender::unpin_file_local_grease_pencil_brush_materials().
| id::IDRemapper* blender::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 252 of file blendfile.cc.
Referenced by blender::reuse_bmain_data_remapper_ensure(), and blender::setup_app_data().
| BlendFileReadWMSetupData* blender::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 246 of file blendfile.cc.
Referenced by blender::setup_app_data(), and blender::swap_wm_data_for_blendfile().