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 9a076dd95a
This commit is contained in:
Campbell Barton
2021-09-23 15:54:32 +10:00
parent 754d56dcc1
commit a351023bd5

View File

@@ -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;