Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-05 04:23:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-05 04:23:55 +0400
commit4c5502bfd690cad5c02aa6a0be0bd59400ef3407 (patch)
tree6c421d2c324166a682952476e7a1f9aa924c7c51 /source/blender/editors/uvedit/uvedit_parametrizer.c
parent9466af0eabf05bfcb966cac01ee72dca544f7dd1 (diff)
code cleanup: function naming for BLI functions.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 478643be947..2b93246e797 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -4356,7 +4356,7 @@ void param_smooth_area(ParamHandle *handle)
void param_pack(ParamHandle *handle, float margin)
{
/* box packing variables */
- boxPack *boxarray, *box;
+ BoxPack *boxarray, *box;
float tot_width, tot_height, scale;
PChart *chart;
@@ -4373,7 +4373,7 @@ void param_pack(ParamHandle *handle, float margin)
param_scale(handle, 1.0f / phandle->aspx, 1.0f / phandle->aspy);
/* we may not use all these boxes */
- boxarray = MEM_mallocN(phandle->ncharts * sizeof(boxPack), "boxPack box");
+ boxarray = MEM_mallocN(phandle->ncharts * sizeof(BoxPack), "BoxPack box");
for (i = 0; i < phandle->ncharts; i++) {
@@ -4424,7 +4424,7 @@ void param_pack(ParamHandle *handle, float margin)
}
}
- boxPack2D(boxarray, phandle->ncharts - unpacked, &tot_width, &tot_height);
+ BLI_box_pack_2D(boxarray, phandle->ncharts - unpacked, &tot_width, &tot_height);
if (tot_height > tot_width)
scale = 1.0f / tot_height;