diff options
-rw-r--r-- | source/blender/blenkernel/intern/mesh.cc | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc index 73e0c2cfa74..bf120b4c1a7 100644 --- a/source/blender/blenkernel/intern/mesh.cc +++ b/source/blender/blenkernel/intern/mesh.cc @@ -355,28 +355,30 @@ static void mesh_read_expand(BlendExpander *expander, ID *id) } IDTypeInfo IDType_ID_ME = { - ID_ME, - FILTER_ID_ME, - INDEX_ID_ME, - sizeof(Mesh), - "Mesh", - "meshes", - BLT_I18NCONTEXT_ID_MESH, - IDTYPE_FLAGS_APPEND_IS_REUSABLE, - - mesh_init_data, - mesh_copy_data, - mesh_free_data, - nullptr, - mesh_foreach_id, - nullptr, - nullptr, - mesh_blend_write, - mesh_blend_read_data, - mesh_blend_read_lib, - mesh_read_expand, - nullptr, - nullptr, + /* id_code */ ID_ME, + /* id_filter */ FILTER_ID_ME, + /* main_listbase_index */ INDEX_ID_ME, + /* struct_size */ sizeof(Mesh), + /* name */ "Mesh", + /* name_plural */ "meshes", + /* translation_context */ BLT_I18NCONTEXT_ID_MESH, + /* flags */ IDTYPE_FLAGS_APPEND_IS_REUSABLE, + + /* init_data */ mesh_init_data, + /* copy_data */ mesh_copy_data, + /* free_data */ mesh_free_data, + /* make_local */ nullptr, + /* foreach_id */ mesh_foreach_id, + /* foreach_cache */ nullptr, + /* owner_get */ nullptr, + + /* blend_write */ mesh_blend_write, + /* blend_read_data */ mesh_blend_read_data, + /* blend_read_lib */ mesh_blend_read_lib, + /* blend_read_expand */ mesh_read_expand, + /* blend_read_undo_preserve */ nullptr, + /* lib_override_apply_post */ nullptr, + /* asset_type_info */ nullptr, }; enum { |