[Bf-blender-cvs] [87237df4fd9] blender-v2.83-release: Fix default surface resolution U/V mis-match
Campbell Barton
noreply at git.blender.org
Mon Sep 27 08:38:11 CEST 2021
Commit: 87237df4fd9ab070bcd313a8cbf3f58ce55bc865
Author: Campbell Barton
Date: Thu Sep 23 15:54:32 2021 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rB87237df4fd9ab070bcd313a8cbf3f58ce55bc865
Fix default surface resolution U/V mis-match
The resolution for surfaces was 12 for U, 4 for V,
where both should have been set to 4.
Regression in 9a076dd95a01135ea50f9ccc675668db9f2155f4
===================================================================
M source/blender/blenkernel/intern/curve.c
===================================================================
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index d8fd405b6e5..643f86fd927 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -215,6 +215,7 @@ void BKE_curve_init(Curve *cu, const short curve_type)
cu->tb[0].w = cu->tb[0].h = 0.0;
}
else if (cu->type == OB_SURF) {
+ cu->resolu = 4;
cu->resolv = 4;
}
}
More information about the Bf-blender-cvs
mailing list