[Bf-blender-cvs] [266a50c942a] new-object-types: Fix build error on Windows
Brecht Van Lommel
noreply at git.blender.org
Tue Mar 10 13:47:48 CET 2020
Commit: 266a50c942a42d7df94855e221f4faa2ff22b367
Author: Brecht Van Lommel
Date: Sat Mar 7 15:02:43 2020 +0100
Branches: new-object-types
https://developer.blender.org/rB266a50c942a42d7df94855e221f4faa2ff22b367
Fix build error on Windows
===================================================================
M source/blender/blenkernel/intern/volume.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc
index 9f500da78e3..979f5ff2b83 100644
--- a/source/blender/blenkernel/intern/volume.cc
+++ b/source/blender/blenkernel/intern/volume.cc
@@ -509,19 +509,19 @@ static void volume_free_data(ID *id)
}
IDTypeInfo IDType_ID_VO = {
- .id_code = ID_VO,
- .id_filter = FILTER_ID_VO,
- .main_listbase_index = INDEX_ID_VO,
- .struct_size = sizeof(Volume),
- .name = "Volume",
- .name_plural = "volumes",
- .translation_context = BLT_I18NCONTEXT_ID_VOLUME,
- .flags = 0,
-
- .init_data = volume_init_data,
- .copy_data = volume_copy_data,
- .free_data = volume_free_data,
- .make_local = volume_make_local,
+ /* id_code */ ID_VO,
+ /* id_filter */ FILTER_ID_VO,
+ /* main_listbase_index */ INDEX_ID_VO,
+ /* struct_size */ sizeof(Volume),
+ /* name */ "Volume",
+ /* name_plural */ "volumes",
+ /* translation_context */ BLT_I18NCONTEXT_ID_VOLUME,
+ /* flags */ 0,
+
+ /* init_data */ volume_init_data,
+ /* copy_data */ volume_copy_data,
+ /* free_data */ volume_free_data,
+ /* make_local */ volume_make_local,
};
/* Sequence */
More information about the Bf-blender-cvs
mailing list