Mirror modifier with "do clipping" set crashed in transform when no
td->loc was set (like for crease).
This commit is contained in:
@@ -156,6 +156,8 @@ static void clipMirrorModifier(TransInfo *t, Object *ob)
|
||||
for(i = 0 ; i < t->total; i++, td++) {
|
||||
if (td->flag & TD_NOACTION)
|
||||
break;
|
||||
if (td->loc==NULL)
|
||||
break;
|
||||
|
||||
if(axis & 1) {
|
||||
if(fabs(td->iloc[0])<=tolerance[0] || td->loc[0]*td->iloc[0]<0.0f) td->loc[0]= 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user