Cleanup: style
This commit is contained in:
		@@ -54,7 +54,7 @@ AbcMBallWriter::AbcMBallWriter(
 | 
			
		||||
	m_is_animated = isAnimated();
 | 
			
		||||
 | 
			
		||||
	m_mesh_ob = BKE_object_copy(bmain, ob);
 | 
			
		||||
	m_mesh_ob->curve_cache = (CurveCache*)MEM_callocN(
 | 
			
		||||
	m_mesh_ob->curve_cache = (CurveCache *)MEM_callocN(
 | 
			
		||||
	                             sizeof(CurveCache),
 | 
			
		||||
	                             "CurveCache for AbcMBallWriter");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -896,7 +896,7 @@ bool BKE_fcurve_is_cyclic(FCurve *fcu)
 | 
			
		||||
	if (fcm->flag & (FMODIFIER_FLAG_RANGERESTRICT | FMODIFIER_FLAG_USEINFLUENCE))
 | 
			
		||||
		return false;
 | 
			
		||||
 | 
			
		||||
	FMod_Cycles *data = (FMod_Cycles*)fcm->data;
 | 
			
		||||
	FMod_Cycles *data = (FMod_Cycles *)fcm->data;
 | 
			
		||||
 | 
			
		||||
	return data && data->after_cycles == 0 && data->before_cycles == 0 &&
 | 
			
		||||
	    ELEM(data->before_mode, FCM_EXTRAPOLATE_CYCLIC, FCM_EXTRAPOLATE_CYCLIC_OFFSET) &&
 | 
			
		||||
@@ -939,14 +939,14 @@ void calchandles_fcurve(FCurve *fcu)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	/* if the first modifier is Cycles, smooth the curve through the cycle */
 | 
			
		||||
	BezTriple *first = &fcu->bezt[0], *last = &fcu->bezt[fcu->totvert-1];
 | 
			
		||||
	BezTriple *first = &fcu->bezt[0], *last = &fcu->bezt[fcu->totvert - 1];
 | 
			
		||||
	BezTriple tmp;
 | 
			
		||||
 | 
			
		||||
	bool cycle = BKE_fcurve_is_cyclic(fcu) && BEZT_IS_AUTOH(first) && BEZT_IS_AUTOH(last);
 | 
			
		||||
 | 
			
		||||
	/* get initial pointers */
 | 
			
		||||
	bezt = fcu->bezt;
 | 
			
		||||
	prev = cycle_offset_triple(cycle, &tmp, &fcu->bezt[fcu->totvert-2], last, first);
 | 
			
		||||
	prev = cycle_offset_triple(cycle, &tmp, &fcu->bezt[fcu->totvert - 2], last, first);
 | 
			
		||||
	next = (bezt + 1);
 | 
			
		||||
	
 | 
			
		||||
	/* loop over all beztriples, adjusting handles */
 | 
			
		||||
 
 | 
			
		||||
@@ -168,8 +168,8 @@ int BM_mesh_edgeloops_find(
 | 
			
		||||
 | 
			
		||||
			/* add both directions */
 | 
			
		||||
			if (bm_loop_build(el_store, e->v1, e->v2,  1) &&
 | 
			
		||||
				bm_loop_build(el_store, e->v2, e->v1, -1) &&
 | 
			
		||||
				el_store->len > 1)
 | 
			
		||||
			    bm_loop_build(el_store, e->v2, e->v1, -1) &&
 | 
			
		||||
			    el_store->len > 1)
 | 
			
		||||
			{
 | 
			
		||||
				BLI_addtail(r_eloops, el_store);
 | 
			
		||||
				count++;
 | 
			
		||||
 
 | 
			
		||||
@@ -875,7 +875,7 @@ void uiItemFullO(
 | 
			
		||||
	        ot, opname, {
 | 
			
		||||
	            if (r_opptr) {
 | 
			
		||||
	                *r_opptr = PointerRNA_NULL;
 | 
			
		||||
	            };
 | 
			
		||||
	            }
 | 
			
		||||
	            return;
 | 
			
		||||
	        });
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user