[Bf-blender-cvs] [a351023bd50] master: Fix default surface resolution U/V mis-match
Campbell Barton
noreply at git.blender.org
Thu Sep 23 07:57:32 CEST 2021
Commit: a351023bd50c19f09e9785245d029f6e57810aa9
Author: Campbell Barton
Date: Thu Sep 23 15:54:32 2021 +1000
Branches: master
https://developer.blender.org/rBa351023bd50c19f09e9785245d029f6e57810aa9
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 b0d196b2bb0..0dcfea78ca5 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -404,6 +404,7 @@ void BKE_curve_init(Curve *cu, const short curve_type)
}
else if (cu->type == OB_SURF) {
cu->flag |= CU_3D;
+ cu->resolu = 4;
cu->resolv = 4;
}
cu->bevel_profile = NULL;
More information about the Bf-blender-cvs
mailing list