Commit: b7f5e4b1b61653a8c50f6593df74b4aa4995ff6f
Author: Campbell Barton
Date:   Tue Jan 10 19:04:07 2023 +1100
Branches: master
https://developer.blender.org/rBb7f5e4b1b61653a8c50f6593df74b4aa4995ff6f

Fix building on MSVC

Empty struct introduced in dad9f45561a1cd129d86cbdd93b883dcaef0df26.

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

M       source/blender/makesdna/DNA_modifier_defaults.h

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

diff --git a/source/blender/makesdna/DNA_modifier_defaults.h 
b/source/blender/makesdna/DNA_modifier_defaults.h
index 6ba973ee4ec..44644d7eb78 100644
--- a/source/blender/makesdna/DNA_modifier_defaults.h
+++ b/source/blender/makesdna/DNA_modifier_defaults.h
@@ -616,7 +616,7 @@
 
 #define _DNA_DEFAULT_SurfaceModifierData \
   { \
-    /* Intentionally empty (all run-time data). */ \
+   .runtime = {NULL}, /* Include to avoid empty an struct (for MSVC). */ \
   }
 
 #define _DNA_DEFAULT_SurfaceDeformModifierData \

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to