[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18375] branches/etch-a-ton/source/blender /src/editarmature_sketch.c: Fix crasher on non-reset pointer.
Martin Poirier
theeth at yahoo.com
Tue Jan 6 20:00:25 CET 2009
Revision: 18375
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18375
Author: theeth
Date: 2009-01-06 20:00:22 +0100 (Tue, 06 Jan 2009)
Log Message:
-----------
Fix crasher on non-reset pointer. Mostly happened panning view while drawing.
Modified Paths:
--------------
branches/etch-a-ton/source/blender/src/editarmature_sketch.c
Modified: branches/etch-a-ton/source/blender/src/editarmature_sketch.c
===================================================================
--- branches/etch-a-ton/source/blender/src/editarmature_sketch.c 2009-01-06 18:59:03 UTC (rev 18374)
+++ branches/etch-a-ton/source/blender/src/editarmature_sketch.c 2009-01-06 19:00:22 UTC (rev 18375)
@@ -1514,6 +1514,7 @@
float vec[3];
float new_dist;
+ p2 = NULL;
p1->flag = 1;
/* if peeling objects, take the first and last from each object */
More information about the Bf-blender-cvs
mailing list