File blender-2.41-uninitialized_variables.patch of Package blender

Index: source/blender/blenkernel/intern/DerivedMesh.c
===================================================================
--- source/blender/blenkernel/intern/DerivedMesh.c.orig
+++ source/blender/blenkernel/intern/DerivedMesh.c
@@ -2102,7 +2102,7 @@ float *mesh_get_mapped_verts_nors(Object
 void writeBobjgz(char *filename, struct Object *ob, int useGlobalCoords, int append, float time) 
 {
 	char debugStrBuffer[256];
-	int wri,i,j;
+	int wri=0,i,j;
 	float wrf;
 	gzFile gzf;
 	DispListMesh *dlm = NULL;
Index: source/blender/python/api2_2x/NLA.c
===================================================================
--- source/blender/python/api2_2x/NLA.c.orig
+++ source/blender/python/api2_2x/NLA.c
@@ -1324,7 +1324,7 @@ static PyObject *ActionStrips_remove( BP
 	BLI_remlink(&self->ob->nlastrips, strip);
 	MEM_freeN(strip);
 
-	pyobj->strip = NULL;
+	//pyobj->strip = NULL;
 	Py_RETURN_NONE;
 }
 
openSUSE Build Service is sponsored by