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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-03-20 15:51:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-03-20 15:51:04 +0400
commit12be17bfa4c1e9f40dd5f723ca78c6ca9331c668 (patch)
treea6f7891b508c388ac5bb8d7667b6fbc318bf450e /source/blender/blenkernel/intern/customdata.c
parent1272492445c7dd928c81411cce3f0044ec91c87a (diff)
Fix #30590: Crash in multires when undoing extrude [File incl.]
Missed initialization of hidden array when copying mdisps data from one face to another.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index e4709e37316..79e1daab226 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -490,6 +490,7 @@ static void layerCopy_mdisps(const void *source, void *dest, int count)
}
else {
d[i].disps = NULL;
+ d[i].hidden = NULL;
d[i].totdisp = 0;
d[i].level = 0;
}