Merge branch 'blender-v5.0-release'
This commit is contained in:
@@ -1291,6 +1291,8 @@ class VIEW3D_MT_transform(VIEW3D_MT_transform_base, Menu):
|
||||
layout.operator("transform.skin_resize")
|
||||
elif context.mode in {'EDIT_CURVE', 'EDIT_GREASE_PENCIL', 'EDIT_CURVES', 'EDIT_POINTCLOUD'}:
|
||||
layout.operator("transform.transform", text="Radius").mode = 'CURVE_SHRINKFATTEN'
|
||||
if context.mode in 'EDIT_GREASE_PENCIL':
|
||||
layout.operator("transform.transform", text="Opacity").mode = 'GPENCIL_OPACITY'
|
||||
|
||||
if context.mode != 'EDIT_CURVES' and context.mode != 'EDIT_GREASE_PENCIL':
|
||||
layout.separator()
|
||||
|
||||
@@ -2083,7 +2083,7 @@ static void move_weld_profile_planes(BevVert *bv, BoundVert *bndv1, BoundVert *b
|
||||
float l2 = normalize_v3(no2);
|
||||
cross_v3_v3v3(no3, d2, bndv2->profile.proj_dir);
|
||||
float l3 = normalize_v3(no3);
|
||||
if (l1 > BEVEL_EPSILON && (l2 > BEVEL_EPSILON || l3 > BEVEL_EPSILON)) {
|
||||
if (l1 != 0.0f && (l2 != 0.0f || l3 != 0.0f)) {
|
||||
float dot1 = fabsf(dot_v3v3(no, no2));
|
||||
float dot2 = fabsf(dot_v3v3(no, no3));
|
||||
if (fabsf(dot1 - 1.0f) > BEVEL_EPSILON) {
|
||||
|
||||
Reference in New Issue
Block a user