ShapeKeys could get corrupted when using the sliders (or relative values).
Was caused by 25 dec commit to get SculptMesh work with Shapes... very
strange implementation here. For now, disabled this function to enter when
not in sculpt mode, while waiting for Nichololas to make it definite OK.
This commit is contained in:
Ton Roosendaal 2007-01-07 16:41:44 +00:00
parent 713f42dc3c
commit 641679effc

@ -604,10 +604,16 @@ void calc_vertex_users()
}
}
/* bad function... what is this supposed to do, and why is it called all over? (ton) */
/* its really time to add some comments in code... */
void set_sculpt_object(Object *ob)
{
SculptSession *ss= sculpt_session();
/* return when no sculptmode, temporal for now because this call breaks switching shapes */
if(!(G.f & G_SCULPTMODE))
return;
if(ss) {
if(ss->keyblock) {
Mesh *me= get_mesh(ss->active_ob);