[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13811] trunk/blender/source/blender/src/ sculptmode-stroke.c: == Sculpt ==
Nicholas Bishop
nicholasbishop at gmail.com
Fri Feb 22 04:29:20 CET 2008
Revision: 13811
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13811
Author: nicholasbishop
Date: 2008-02-22 04:29:17 +0100 (Fri, 22 Feb 2008)
Log Message:
-----------
== Sculpt ==
Fixed bug #8243, sculpt mode crash
Increased amount of memory allocated for doing smooth stroke. Should ensure there's enough room to store result of subdividing the stroke.
Modified Paths:
--------------
trunk/blender/source/blender/src/sculptmode-stroke.c
Modified: trunk/blender/source/blender/src/sculptmode-stroke.c
===================================================================
--- trunk/blender/source/blender/src/sculptmode-stroke.c 2008-02-22 01:28:48 UTC (rev 13810)
+++ trunk/blender/source/blender/src/sculptmode-stroke.c 2008-02-22 03:29:17 UTC (rev 13811)
@@ -63,7 +63,7 @@
SculptSession *ss = sculpt_session();
ss->stroke = MEM_callocN(sizeof(SculptStroke), "SculptStroke");
- ss->stroke->loc = MEM_callocN(sizeof(short) * 2 * max, "SculptStroke.loc");
+ ss->stroke->loc = MEM_callocN(sizeof(short) * 4 * max, "SculptStroke.loc");
ss->stroke->max = max;
ss->stroke->index = -1;
}
More information about the Bf-blender-cvs
mailing list