[Bf-blender-cvs] [4fcbfcfc96c] master: Cleanup: GCC compiler warning
Campbell Barton
noreply at git.blender.org
Sun Jan 22 10:51:01 CET 2023
Commit: 4fcbfcfc96c0a3fe0a12eadcdfc56525e51eec2a
Author: Campbell Barton
Date: Sun Jan 22 20:48:16 2023 +1100
Branches: master
https://developer.blender.org/rB4fcbfcfc96c0a3fe0a12eadcdfc56525e51eec2a
Cleanup: GCC compiler warning
===================================================================
M source/blender/editors/uvedit/uvedit_unwrap_ops.cc
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc
index d95655cef45..208268c71c1 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc
@@ -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]);
More information about the Bf-blender-cvs
mailing list