Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-05-22 21:26:25 +0300
committerHans Goudey <h.goudey@me.com>2022-05-22 21:26:25 +0300
commitd095fcd6b417e7b2d70d9c6ffd9fcf900935c0ec (patch)
tree3ae3e1e97d6d331038c372554a0e43f05de52842 /source/blender/blenkernel/intern/customdata.cc
parente222e19d826c9b18330ddb3efa8505952bddd62a (diff)
Cleanup: Fix build error after previous commit
I'm not sure how that happened, sorry for the noise.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.cc')
-rw-r--r--source/blender/blenkernel/intern/customdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.cc b/source/blender/blenkernel/intern/customdata.cc
index 104b42de654..27e8bf96dc6 100644
--- a/source/blender/blenkernel/intern/customdata.cc
+++ b/source/blender/blenkernel/intern/customdata.cc
@@ -5154,7 +5154,7 @@ static void write_mdisps(BlendWriter *writer, int count, const MDisps *mdlist, i
if (mdlist) {
BLO_write_struct_array(writer, MDisps, count, mdlist);
for (int i = 0; i < count; i++) {
- MDisps *md = &mdlist[i];
+ const MDisps *md = &mdlist[i];
if (md->disps) {
if (!external) {
BLO_write_float3_array(writer, md->totdisp, &md->disps[0][0]);