Cleanup (UV): Remove unused variable do_aspect

This commit is contained in:
Chris Blackbourn 2022-06-27 11:13:06 +12:00
parent 81c5b759d6
commit 77f10fceb2
1 changed files with 0 additions and 3 deletions

View File

@ -187,7 +187,6 @@ typedef struct ParamHandle {
RNG *rng;
float blend;
bool do_aspect;
} ParamHandle;
/* PHash
@ -3718,7 +3717,6 @@ ParamHandle *GEO_uv_parametrizer_construct_begin(void)
handle->polyfill_heap = BLI_heap_new_ex(BLI_POLYFILL_ALLOC_NGON_RESERVE);
handle->aspx = 1.0f;
handle->aspy = 1.0f;
handle->do_aspect = false;
handle->hash_verts = phash_new((PHashLink **)&handle->construction_chart->verts, 1);
handle->hash_edges = phash_new((PHashLink **)&handle->construction_chart->edges, 1);
@ -3731,7 +3729,6 @@ void GEO_uv_parametrizer_aspect_ratio(ParamHandle *phandle, float aspx, float as
{
phandle->aspx = aspx;
phandle->aspy = aspy;
phandle->do_aspect = true;
}
void GEO_uv_parametrizer_delete(ParamHandle *phandle)