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:
authorTon Roosendaal <ton@blender.org>2005-10-11 19:27:28 +0400
committerTon Roosendaal <ton@blender.org>2005-10-11 19:27:28 +0400
commit432f51647d653c64cce73fc3f2eb371a83e6fa4a (patch)
tree9796f7c470d3fb945580c2199901d05abcf78dbe /source/blender/src/booleanops.c
parentcf620b95d55856f1ba31169821945cea60aa1fd5 (diff)
Bugfix #3164
Very rare; a bugreport with a fix patch! Coolness, thanks Bill Currie! (Segfault due to using un-initialized displaylist in Boolean code)
Diffstat (limited to 'source/blender/src/booleanops.c')
-rw-r--r--source/blender/src/booleanops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/booleanops.c b/source/blender/src/booleanops.c
index 8b07527c585..230dd0ae36a 100644
--- a/source/blender/src/booleanops.c
+++ b/source/blender/src/booleanops.c
@@ -700,6 +700,9 @@ NewBooleanMesh(
CSG_FaceIteratorDescriptor fd_o;
DispListMesh dlm;
+ // need to make sure its zeroed
+ memset (&dlm, 0, sizeof (dlm));
+
// Create a new blender mesh object - using 'base' as
// a template for the new object.
ob_new= AddNewBlenderMesh(base);