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
Notes: blender-bot 2024-05-02 21:33:31 +02:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 0 deletions

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;