From ec7df03c867d28316708e9b91bec5cef0aee832e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 8 Feb 2010 13:55:31 +0000 Subject: Warning fixes, one actual bug found in sequencer sound wave drawing. Also changed some malloc to MEM_mallocN while trying to track down a memory leak. --- source/blender/render/intern/raytrace/rayobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render/intern/raytrace') diff --git a/source/blender/render/intern/raytrace/rayobject.cpp b/source/blender/render/intern/raytrace/rayobject.cpp index 869405e0fbc..ac386e776b4 100644 --- a/source/blender/render/intern/raytrace/rayobject.cpp +++ b/source/blender/render/intern/raytrace/rayobject.cpp @@ -180,7 +180,7 @@ static inline int rayface_check_cullface(RayFace *face, Isect *is) /* this function shall only modify Isect if it detects an hit */ static int intersect_rayface(RayObject *hit_obj, RayFace *face, Isect *is) { - float co1[3],co2[3],co3[3],co4[3]; + float co1[3],co2[3],co3[3],co4[3]={0}; float x0,x1,x2,t00,t01,t02,t10,t11,t12,t20,t21,t22,r0,r1,r2; float m0, m1, m2, divdet, det1; float labda, u, v; -- cgit v1.2.3