Fix T53586: Surfaces collapse when joined

This commit is contained in:
Campbell Barton 2018-01-04 16:01:27 +11:00
parent 9b65560934
commit 457dc8d12c
Notes: blender-bot 2023-02-14 07:30:31 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #53586, Collapse of surface Curves when CTRL+J
1 changed files with 4 additions and 2 deletions

View File

@ -6131,8 +6131,10 @@ int join_curve_exec(bContext *C, wmOperator *op)
cu = ob->data;
BLI_movelisttolist(&cu->nurb, &tempbase);
/* Account for mixed 2D/3D curves when joining */
BKE_curve_curve_dimension_update(cu);
if (ob->type == OB_CURVE) {
/* Account for mixed 2D/3D curves when joining */
BKE_curve_curve_dimension_update(cu);
}
DAG_relations_tag_update(bmain); // because we removed object(s), call before editmode!