Fix T53586: Surfaces collapse when joined
This commit is contained in:
@@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user