== 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.
This commit is contained in:
Nicholas Bishop 2008-02-22 03:29:17 +00:00
parent 48a63498ae
commit 4edf886c58

@ -63,7 +63,7 @@ void sculpt_stroke_new(const int max)
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;
}