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]);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to