Fix T51149: Joining curves allows 2D curves in 3D
This commit is contained in:
parent
00ad259939
commit
97c9c6a3f3
Notes:
blender-bot
2023-04-04 07:45:26 +02:00
Referenced by issue #51149, 2D curves can be 3D
|
@ -6047,6 +6047,9 @@ 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);
|
||||
|
||||
DAG_relations_tag_update(bmain); // because we removed object(s), call before editmode!
|
||||
|
||||
DAG_id_tag_update(&ob->id, OB_RECALC_OB | OB_RECALC_DATA);
|
||||
|
|
Loading…
Reference in New Issue