Cleanup: GCC compiler warning

This commit is contained in:
Campbell Barton 2023-01-22 20:48:16 +11:00
parent c2a28f9f6c
commit 4fcbfcfc96
1 changed files with 2 additions and 1 deletions

View File

@ -1347,7 +1347,8 @@ static void uv_map_transform_center(const Scene *scene,
float r_bounds[2][3])
{
/* only operates on the edit object - this is all that's needed now */
const int around = (v3d) ? scene->toolsettings->transform_pivot_point : V3D_AROUND_CENTER_BOUNDS;
const int around = (v3d) ? scene->toolsettings->transform_pivot_point :
int(V3D_AROUND_CENTER_BOUNDS);
float bounds[2][3];
INIT_MINMAX(bounds[0], bounds[1]);