[Bf-blender-cvs] [0f64de6b9b7] master: Cleanup: compiler warning

Campbell Barton noreply at git.blender.org
Fri Jun 5 16:13:34 CEST 2020


Commit: 0f64de6b9b7dc3e4c4af30f68afeb3e42f385042
Author: Campbell Barton
Date:   Sat Jun 6 00:05:33 2020 +1000
Branches: master
https://developer.blender.org/rB0f64de6b9b7dc3e4c4af30f68afeb3e42f385042

Cleanup: compiler warning

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

M	source/blender/blenloader/intern/writefile.c

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

diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 80c64ded06a..5e78f0c1052 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2176,7 +2176,7 @@ static void write_mdisps(BlendWriter *writer, int count, MDisps *mdlist, int ext
       MDisps *md = &mdlist[i];
       if (md->disps) {
         if (!external) {
-          BLO_write_float3_array(writer, md->totdisp, md->disps);
+          BLO_write_float3_array(writer, md->totdisp, &md->disps[0][0]);
         }
       }



More information about the Bf-blender-cvs mailing list