forked from bartvdbraak/blender
== 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:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user