Cleanup: Fix build error after previous commit
I'm not sure how that happened, sorry for the noise.
This commit is contained in:
parent
e222e19d82
commit
d095fcd6b4
Notes:
blender-bot
2023-02-14 07:36:17 +01:00
Referenced by issue #100872, Crash when creating geometry nodes in a for-loop with Python
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue