Fix memory leak /w bend tool
This commit is contained in:
		@@ -2827,7 +2827,7 @@ static void initBend(TransInfo *t)
 | 
			
		||||
	t->num.unit_type[0] = B_UNIT_ROTATION;
 | 
			
		||||
	t->num.unit_type[1] = B_UNIT_LENGTH;
 | 
			
		||||
 | 
			
		||||
	t->flag |= T_NO_CONSTRAINT;
 | 
			
		||||
	t->flag |= T_NO_CONSTRAINT | T_FREE_CUSTOMDATA;
 | 
			
		||||
 | 
			
		||||
	//copy_v3_v3(t->center, ED_view3d_cursor3d_get(t->scene, t->view));
 | 
			
		||||
	calculateCenterCursor(t, t->center);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user