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 c6856da22c
commit 87237df4fd
Notes: blender-bot 2023-02-13 22:19:21 +01:00
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 0 deletions

View File

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