[Bf-blender-cvs] [04dba9349d6] master: Fix: build issue with MSVC

Ray Molenkamp noreply at git.blender.org
Wed Aug 17 06:10:03 CEST 2022


Commit: 04dba9349d6742cf61160899a02a535605068710
Author: Ray Molenkamp
Date:   Tue Aug 16 22:09:58 2022 -0600
Branches: master
https://developer.blender.org/rB04dba9349d6742cf61160899a02a535605068710

Fix: build issue with MSVC

empty initializers are not allowed in C99
introduced by rB2481be90e38d36abc06501c395105fa1833baf1c

===================================================================

M	source/blender/editors/io/io_alembic.c

===================================================================

diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index f04713c2eb9..a7e906b8109 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -651,7 +651,7 @@ static int wm_alembic_import_exec(bContext *C, wmOperator *op)
     ED_object_mode_set(C, OB_MODE_OBJECT);
   }
 
-  struct AlembicImportParams params = {};
+  struct AlembicImportParams params = {0};
   params.global_scale = scale;
   params.sequence_len = sequence_len;
   params.sequence_offset = offset;



More information about the Bf-blender-cvs mailing list