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 committed by Jeroen Bakker
parent 5b588282a6
commit 4528c9a357
Notes: blender-bot 2023-02-14 07:30:31 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,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;